Android CheckBox点击切换
代码如下图所示
<item android:drawable="@drawable/ic_s_circle_checked" android:state_checked="true"/>
<item android:drawable="@drawable/ic_s_circle" android:state_checked="false"/>
<item android:drawable="@drawable/ic_s_circle"/>
xml中使用默认不选中
<CheckBox
android:id="@+id/item_t_check_tb"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:button="@drawable/selector_checkbox"
android:checked="false" />