title: PreferenceActivity and theme not applying
body: <p>Hi all I have set the theme in the manifest file like this:</p>
  
  <pre><code>android:theme="@android:style/Theme.Light"
  </code></pre>
  
  <p>But I have a problem in the Preferences Activity, in the main preferences the theme shows ok, but if I get to a sub preference, the theme gets messy, it is not white as it should, it is all dark, and the font is black so you can't see much, and when I start clicking on any items they will get sometimes white as they should but revert to black soon after. This is only happens on 2.1, in both the real device and emulator. Tested on the emulator running 1.6 and it was working correctly. Here is part of the code of the preferences xml file:</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;PreferenceScreen
          android:title="@string/account"&gt;
          &lt;CheckBoxPreference
              android:key="enable_account"
              android:title="@string/account_use"
              android:summary="@string/account_summ" /&gt;
          &lt;EditTextPreference
              android:key="username"
              android:title="@string/login"
              android:dependency="enable_account"
              android:summary="@string/login_summ" /&gt;
          &lt;EditTextPreference
              android:key="password"
              android:title="@string/password"
              android:dependency="enable_account"
              android:summary="@string/password_summ"
              android:password="true" /&gt;
      &lt;/PreferenceScreen&gt;
  </code></pre>
  
  <p>And here is a screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/5ZEKk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5ZEKk.png" alt="alt text"></a>
  </p>
  
  <p>Any workarounds?</p>