Created
April 15, 2021 03:14
-
-
Save IwonGunawan/1928502b88450d0485ee13250da8dee4 to your computer and use it in GitHub Desktop.
Android XML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item android:state_pressed="true"> | |
<shape> | |
<solid | |
android:color="#1E669B"/> | |
<stroke | |
android:width="2dp" | |
android:color="#1B5E91"/> | |
<corners | |
android:radius="6dp"/> | |
<padding | |
android:bottom="10dp" | |
android:left="10dp" | |
android:right="10dp" | |
android:top="10dp"/> | |
</shape> | |
</item> | |
<item> | |
<shape> | |
<gradient | |
android:angle="270" | |
android:endColor="#1E669B" | |
android:startColor="#1E669B"/> | |
<stroke | |
android:width="4dp" | |
android:color="#1B5E91"/> | |
<corners | |
android:radius="7dp"/> | |
<padding | |
android:bottom="10dp" | |
android:left="10dp" | |
android:right="10dp" | |
android:top="10dp"/> | |
</shape> | |
</item> | |
</selector> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment