title: Change layout for Preference screen
body: <p>I have a Preference screen and also two <code>EditTextPreference</code>. </p>
  
  <p>I want to change its background color and font and also to add an image in its background.</p>
  
  <p>How can I do that?</p>
  
  <p>Here it the code as shown below for the layout in XML:</p>
  
  <pre><code>&lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;PreferenceCategory 
          android:title="Login Information"
          android:key="first_category"&gt;
          &lt;EditTextPreference
              android:key="@string/txtusername"
              android:title="@string/username" 
              android:summary="@string/userNameSummary" /&gt;
      &lt;/PreferenceCategory&gt;
  
      &lt;PreferenceCategory
          android:title="Device Information"
          android:key="Device"&gt;
          &lt;EditTextPreference
              android:key="welcome_message"
              android:title="DeviceId"
              android:summary="This is your mobile device ID"
              android:shouldDisableView="true" /&gt;
      &lt;/PreferenceCategory&gt;
  &lt;/PreferenceScreen&gt;
  </code></pre>