Created
February 10, 2021 03:22
-
-
Save thrashedbrain/91f32e4a478a20f9b30fa0781d17fe87 to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="utf-8"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item | |
android:state_pressed="true" | |
android:drawable="@drawable/draw_btn_pressed"/> | |
<item | |
android:state_pressed="false" | |
android:drawable="@drawable/draw_btn_idle"/> | |
</selector> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape> | |
<gradient | |
android:startColor="@color/colorStart" | |
android:endColor="@color/colorEnd"/> | |
<corners | |
android:radius="8dp"/> | |
</shape> | |
</item> | |
</selector> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<selector xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape> | |
<gradient | |
android:startColor="@color/colorStartPressed" | |
android:endColor="@color/colorEndPressed"/> | |
<corners | |
android:radius="8dp"/> | |
</shape> | |
</item> | |
</selector> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment