toggle_selector.xml 288 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_checked="false" android:drawable="@drawable/heart_stroke" /> <item android:state_checked="true" android:drawable="@drawable/heart_fill" /> </selector>