title: PreferencesActivity - customize style of checbkoxes, radio buttons etc
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3192173/change-icons-of-checked-and-unchecked-for-checkbox-for-android">Change icons of checked and unchecked for Checkbox for Android</a><br>
    <a href="https://stackoverflow.com/questions/3569412/customize-check-box-preference">customize check box preference</a>  </p>
  </blockquote>
  
  
  
  <p>Is there any way to customize style of elements in <code>PreferencesActivity</code>?</p>
  
  <p>I was only able to change color text, background etc.</p>
  
  <p>I want to also change the check mark and radio button style in <code>CheckBoxPreference</code> and so on.</p>
  
  <p>I'm interesting in API8 or greater.</p>
  
  <p>Thanks for your help!</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;CheckBoxPreference
          android:defaultValue="true"
          android:key="vibrate"
          android:summary="summary"
          android:title="Some title"
          android:widgetLayout="@layout/custom_checkbox" /&gt;
      &lt;CheckBoxPreference
          android:defaultValue="true"
          android:key="autorotate"
          android:summary="summary"
          android:title="auto rotate" /&gt;
  &lt;/PreferenceScreen&gt;
  </code></pre>