それはあなたのチェックボックスに適切な描画可能なXMLファイルを配置することによって、少しシンプルなあなたが設定する必要があり、対応する画像を述べています。 checkbox.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true"
android:drawable="@drawable/star_checked" /> <!-- pressed -->
<item android:state_checked="false"
android:drawable="@drawable/star_unchecked" /> <!-- focused -->
<item android:drawable="@drawable/star_unchecked" />
</selector>
とAndroidを使用することにより、操作するためのコードの上に設定され、あなたのチェックボックスに名前の描画可能で
場所以下のコードを:ボタン=描画可能/チェックボックス@」
<CheckBox android:id="@+id/chkFav" android:layout_width="wrap_content"
android:layout_marginRight="0dp" android:button="@drawable/checkbox"
android:layout_height="wrap_content" android:clickable="true"/>