Created
March 22, 2015 03:20
-
-
Save vikramkakkar/49a9d159585a2ea72bda to your computer and use it in GitHub Desktop.
API level >= 21
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"?> | |
<ripple xmlns:android="http://schemas.android.com/apk/res/android" android:color="@color/fill_color_when_pressed"> | |
<item> | |
<selector> | |
<item android:state_checked="true" > | |
<shape android:shape="rectangle"> | |
<solid android:color="@color/fill_color_when_active" /> | |
</shape> | |
</item> | |
<item android:drawable="@android:color/transparent"/> | |
</selector> | |
</item> | |
<item android:id="@android:id/mask"> | |
<shape android:shape="rectangle"> | |
<solid android:color="@color/fill_color_when_pressed"/> | |
</shape> | |
</item> | |
</ripple> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment