Note that there are some explanatory texts on larger screens.

plurals
  1. POPreferenceScreen theme
    text
    copied!<p>I set preference to preference screen. </p> <p>The main screen is fine, but sub-screens are dark and I can't see the title of elements, only blue descriptions. </p> <p>If I scroll down, the theme is changed to light.</p> <p>I have tried adding <code>android:background="AppTheme"</code> to <code>preferencescreen</code> element, but nothing happened. </p> <p>edit (Meph):</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;!-- Network screen --&gt; &lt;PreferenceScreen android:title="@string/pref_network_screen" android:key="prefNetworkScreen"&gt; android:background="@style/AppTheme"&gt; &lt;CheckBoxPreference android:title="@string/pref_network_update" android:defaultValue="false" android:summary="@string/pref_network_update_description" android:key="prefUpdate" /&gt; &lt;ListPreference android:title="@string/pref_network_type" android:summary="@string/pref_network_type_description" android:key="prefNetworkType" android:defaultValue="1" android:entries="@array/prefNetworkArray" android:entryValues="@array/prefNetworkValues" /&gt; &lt;/PreferenceScreen&gt; &lt;!-- Network screen --&gt; &lt;PreferenceScreen android:title="@string/pref_network_screen" android:key="prefNetworkScreen"&gt; &lt;CheckBoxPreference android:title="@string/pref_network_update" android:defaultValue="false" android:summary="@string/pref_network_update_description" android:key="prefUpdate" /&gt; &lt;ListPreference android:title="@string/pref_network_type" android:summary="@string/pref_network_type_description" android:key="prefNetworkType" android:defaultValue="1" android:entries="@array/prefNetworkArray" android:entryValues="@array/prefNetworkValues" /&gt; &lt;/PreferenceScreen&gt; &lt;/PreferenceScreen&gt; </code></pre> <p>and styles.xml:</p> <pre><code>&lt;resources&gt; &lt;style name="AppTheme" parent="android:Theme.Light" /&gt; &lt;/resources&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload