title: customize check box preference
body: <p>I am unable to customize my checkbox , although I have defined the background in the xml preference file, it doesn't pull the file.
  1. I am trying to display custom images for checkbox and have defined the selector xml as "android_button.xml" which looks like :</p>
  
  <pre><code>   &lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;item android:state_checkable="true"
        android:drawable="@drawable/state_normal" /&gt; &lt;!-- pressed --&gt;
  &lt;item  android:state_checked="true"
        android:drawable="@drawable/android_pressed" /&gt; &lt;!-- focused --&gt;
  &lt;item android:drawable="@drawable/state_normal" /&gt; &lt;!-- default --&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>state_normal and android_pressed are two .png images in res>drawable folder.</p>
  
  <p>2.my Checkbox preference.xml file is :</p>
  
  <pre><code>          &lt;CheckBoxPreference android:key="@string/Drop_Option"
              android:title="Close after call drop"
              android:defaultValue="true"
              android:background="@drawable/android_button"
              /&gt;
  </code></pre>
  
  <p>Is there any error in the definition, The only change that shows up in screen is the android:title text, if I change the text, it changes the text. Nothing else changes. How do I fix this. Thank you for your suggestion. </p>