title: SharedPreferences EditText dialog squashed on HTC WildFire
body: <p>I'm using SharedPreferences in my Android app in the standard way.  On the HTC WildFire device (resolution 240x320), the EditText is squashed up when the virtual keyboard is displayed.</p>
  
  <p>Has anyone else come across this is there a solution?  I've been stumped for days.</p>
  
  <p><img src="https://i.stack.imgur.com/RkMUg.png" alt="My SharedPreferences activity on the HTC WildFire"></p>
  
  <p>My code/XML is pretty straightforward:</p>
  
  <pre><code>public class PrefsActivity extends PreferenceActivity {
  
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      addPreferencesFromResource(R.xml.preferences);
  
      // don't display hidden preferences
      getPreferenceScreen().removePreference(findPreference("hidden_prefs"));
  }
  }
  </code></pre>
  
  <p>And my preferences.xml:</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;PreferenceCategory android:title="User Preferences"&gt;   
      &lt;EditTextPreference
          android:key="profile"
          android:title="Profile"
          android:summary="Your profile name"
          android:name="Profile"/&gt;
  
      &lt;EditTextPreference
          android:key="password"
          android:title="Password"
          android:summary="Your password"
          android:name="Password"
          android:password="true"/&gt;
  
      &lt;EditTextPreference
          android:name="Server"
          android:summary="The server to use"
          android:title="Server"
          android:key="server"/&gt;
  
      &lt;EditTextPreference
          android:name="Secret"
          android:summary="The server secret"
          android:title="Secret"
          android:password="true"
          android:key="secret"/&gt;
  
      &lt;CheckBoxPreference
          android:title="On Demand"
          android:defaultValue="true"
          android:summary="Check to enable On Demand"
          android:key="on_demand"/&gt;
  
      &lt;ListPreference
          android:title="Date"
          android:summary="Set the type of date used"
          android:key="date"
          android:defaultValue="next"
          android:entries="@array/prefs_date_keys"
          android:entryValues="@array/prefs_date_values" /&gt;
  
  &lt;/PreferenceCategory&gt;
  
  &lt;PreferenceCategory android:key="hidden_prefs" android:title="Hidden Preferences"&gt;
  
      &lt;EditTextPreference
          android:name="Last Project ID"
          android:summary="The last Project ID"
          android:title="Last Project ID"
          android:key="last_project_id"
          android:inputType="number"/&gt;
  
      &lt;EditTextPreference
          android:name="Fast Sync"
          android:summary="Use Fast Sync"
          android:title="Fast Sync"
          android:key="fast_sync"
          android:inputType="number"/&gt;
  
  &lt;/PreferenceCategory&gt;
  </code></pre>
  
  <p></p>