diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-04-14 15:53:50 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-04-14 15:53:50 +0200 |
commit | f99e234b886d043968267323ccb4995f20ee4fa4 (patch) | |
tree | 37d2ed5e9a0a6ffc4a577ebdcde043476d32597a /src/main/res/xml/preferences.xml | |
parent | b6cc8c90a00f55866ea906697a40f582643309c2 (diff) |
maintain state when rotating settings activity
Diffstat (limited to 'src/main/res/xml/preferences.xml')
-rw-r--r-- | src/main/res/xml/preferences.xml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index d48124a6..9cf0100f 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -36,7 +36,9 @@ android:title="@string/pref_chat_states" /> </PreferenceCategory> - <PreferenceCategory android:title="@string/pref_notification_settings" > + <PreferenceCategory + android:title="@string/pref_notification_settings" + android:key="notifications"> <CheckBoxPreference android:defaultValue="true" android:key="show_notification" @@ -45,7 +47,8 @@ <PreferenceScreen android:dependency="show_notification" android:summary="@string/pref_quiet_hours_summary" - android:title="@string/title_pref_quiet_hours"> + android:title="@string/title_pref_quiet_hours" + android:key="quiet_hours"> <CheckBoxPreference android:defaultValue="false" android:key="enable_quiet_hours" @@ -108,10 +111,13 @@ android:summary="@string/pref_show_dynamic_tags_summary" android:title="@string/pref_show_dynamic_tags" /> </PreferenceCategory> - <PreferenceCategory android:title="@string/pref_advanced_options" > + <PreferenceCategory + android:title="@string/pref_advanced_options" + android:key="advanced"> <PreferenceScreen android:summary="@string/pref_expert_options_summary" - android:title="@string/pref_expert_options" > + android:title="@string/pref_expert_options" + android:key="expert"> <PreferenceCategory android:title="@string/pref_encryption_settings" > <CheckBoxPreference android:defaultValue="false" |