混合种类:
在您的布局文件中设置它:
<Check@R_135_2419@ android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="new check@R_135_2419@"
android:background="@drawable/check@R_135_2419@_background"
android:button="@drawable/check@R_135_2419@" />
@ drawable / check@R_135_2419@如下所示:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true" android:state_focused="true"
android:drawable="@drawable/check@R_135_2419@_on_background_focus_yellow" />
<item android:state_checked="false" android:state_focused="true"
android:drawable="@drawable/check@R_135_2419@_off_background_focus_yellow" />
<item android:state_checked="false"
android:drawable="@drawable/check@R_135_2419@_off_background" />
<item android:state_checked="true"
android:drawable="@drawable/check@R_135_2419@_on_background" />
</selector>