关于 radioButton跟 checkBox 的样式

关于 radioButton和 checkBox 的样式selector xmlns:androidhttp://schemas.android.com/apk/res/andro

关于 radioButton和 checkBox 的样式
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_enabled="true" android:state_checked="true" android:drawable="@drawable/check" /> <item android:state_enabled="true" android:state_checked="false" android:drawable="@drawable/checknull" /> </selector>?

check和checknull分别为选中和位选中的图片。

然后在你的布局文件中,RadioButton 布局android:button?

设置android:button = "@drawable/radiobutton",就可以了!

?

?

不是 background

?