title: Changing the look of <PreferenceScreen /> items
body: <p><em><strong>The question:</em></strong></p>
  
  <p>How do you change the text size used for the android:title attribute when the Preference items are listed in the settings menu?</p>
  
  <p><em><strong>The details:</em></strong></p>
  
  <p>The Settings screen in my app looks good on a Nexus 7 (Jelly Bean) tablet, but is almost unusable on a Motorola Defy (Gingerbread) phone. I am using the standard PreferenceActivity approach as detailed in the Android Dev guides.</p>
  
  <p>I have been searching the web for several days, but have not found a solution that makes things look any different.</p>
  
  <p>On the Android-Gingerbread phone;</p>
  
  <p>1) the <code>&lt;EditTextPreference android:title .../&gt;</code> text is way too big, and doesn't word-wrap.</p>
  
  <p>2) the standard "down arrow" icons next to each preference item look weird and misaligned.
  (<a href="http://i.imgur.com/Dikme5A" rel="nofollow">misaligned icon image</a>)</p>
  
  <p>3) the theme is Holo, but a large blank region below the last preference item is an ugly light grey for some reason.</p>
  
  <p>I've tried defining style.xml resources and putting style="@style/StyleName" in the preferences.xml to change the android:textSize attribute, but it didn't do anything.</p>
  
  <p>Below is the XML for my preference screen:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
      style="@style/SettingsMenu" &gt;
  
      &lt;PreferenceCategory 
          android:key="pref_key_mixProportions" 
          android:title="@string/pref_title_mixProportions"
          style="@style/SettingsMenu"
          &gt;
          &lt;EditTextPreference 
              android:key="pref_key_binderPortion"
              android:title="@string/pref_title_binderPortion"
              android:dialogTitle="Binder Portion"
              android:inputType="numberDecimal"
              android:maxLines="2"
              android:scrollHorizontally="false"
              android:defaultValue="1"
              android:persistent="true" /&gt;
  
          &lt;EditTextPreference 
              android:key="pref_key_premixPortion"
              android:title="@string/pref_title_premixPortion"
              android:dialogTitle="Premix Portion"
              android:inputType="numberDecimal"
              android:layout_width="wrap_content"
              android:maxLines="2"
              android:scrollHorizontally="false"
              android:defaultValue="5"
              android:persistent="true"/&gt;
      &lt;/PreferenceCategory&gt;
  
      &lt;PreferenceCategory 
          android:key="pref_key_binderProperties" 
          android:title="@string/pref_title_binderProperties"&gt;
          &lt;EditTextPreference 
              android:key="pref_key_binderDensity"
              android:title="@string/pref_title_binderDensity"
              android:dialogTitle="Density of Binder powder (kg/m^3)"
              android:inputType="numberDecimal"
              android:defaultValue="2850"
              android:persistent="true"
              android:summary="@string/pref_summary_binderDensity"/&gt;
          &lt;EditTextPreference 
              android:key="pref_key_binderBagWeight"
              android:title="@string/pref_title_binderBagWeight"
              android:dialogTitle="Weight of Binder per bag (kg)"
              android:inputType="numberDecimal"
              android:defaultValue="20"
              android:persistent="true" /&gt;
  
      &lt;/PreferenceCategory&gt;
  
      &lt;PreferenceCategory 
          android:key="pref_key_premixProperties" 
          android:title="@string/pref_title_premixProperties"&gt;
          &lt;EditTextPreference 
              android:key="pref_key_premixDensity"
              android:title="@string/pref_title_premixDensity"
              android:dialogTitle="Density of Sand and Aggregate Mix (kg/m^3)"
              android:inputType="numberDecimal"
              android:defaultValue="1850"
              android:persistent="true"
              android:summary="@string/pref_summary_premixDensity"/&gt;
  
      &lt;/PreferenceCategory&gt;
  
  &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>My styles.xml contains:</p>
  
  <pre><code>&lt;style name="SettingsMenu"&gt;
      &lt;item name="android:textSize"&gt;15sp&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>But the text looks the same regardless of what value I give for the size.</p>
  
  <p>I've seen that some people suggest using <code>&lt;PreferenceScreen android:layout=".... /&gt;</code> but I've found no clear explanation of how this is done. </p>
  
  <p>Can anyone help?</p>