그것은 당신의 체크 박스에 적합한 그릴 수 xml 파일을 배치하여 약간의 간단한있어 사용자가 설정해야 할 이미지를 대응하는 상태. = 버튼을 그릴 수/체크 박스 "
<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"/>
@ 드로어 블 이름 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>
및 코드 이상으로 설정하여 체크 박스에 아래의 코드는 안드로이드 사용하여 조작 할 수
장소