<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@mipmap/report_solid_2" android:state_checked="true"/> <item android:drawable="@mipmap/report_hollow_2" android:state_checked="false"/> <item android:drawable="@mipmap/report_hollow_2"/> </selector>
<CheckBox android:id="@+id/cb_agree" style="@style/live_check_style" android:layout_width="15dp" android:layout_height="15dp" android:layout_marginTop="2dp" android:checked="true" />
<style name="live_check_style" parent="@android:style/Widget.CompoundButton.CheckBox"> <item name="android:button">@drawable/live_checkbox_selector</item> </style>