Adaptation of the pref_settings_general.xml
Creating a preferenceSettings category for different settings of the DarkTheme
This commit is contained in:
parent
50f7260717
commit
01865b1741
2 changed files with 10 additions and 7 deletions
|
@ -55,7 +55,8 @@
|
||||||
<string name="pref_automatic_note_deletion_summary">Automatically remove notes when setting values on connected cells</string>
|
<string name="pref_automatic_note_deletion_summary">Automatically remove notes when setting values on connected cells</string>
|
||||||
<string name="pref_timer_reset">Timer Reset</string>
|
<string name="pref_timer_reset">Timer Reset</string>
|
||||||
<string name="pref_timer_reset_summary">Also reset the timer, when resetting the game board.</string>
|
<string name="pref_timer_reset_summary">Also reset the timer, when resetting the game board.</string>
|
||||||
<string name="pref_dark_mode">Dark Mode</string>
|
<string name="pref_dark_mode">Dark Theme</string>
|
||||||
|
<string name="pref_group_dark_theme">Dark Theme settings</string>
|
||||||
|
|
||||||
<string name="pref_dark_mode_setting">Dark Theme</string>
|
<string name="pref_dark_mode_setting">Dark Theme</string>
|
||||||
<string name="pref_dark_mode_summary">switch between light and dark theme</string>
|
<string name="pref_dark_mode_summary">switch between light and dark theme</string>
|
||||||
|
|
|
@ -19,12 +19,6 @@
|
||||||
android:summary="@string/pref_keep_screen_on_summary"
|
android:summary="@string/pref_keep_screen_on_summary"
|
||||||
android:defaultValue="true"/>
|
android:defaultValue="true"/>
|
||||||
|
|
||||||
<SwitchPreference android:id="@+id/pref_dark_theme"
|
|
||||||
android:key="pref_dark_mode_setting"
|
|
||||||
android:title="@string/pref_dark_mode"
|
|
||||||
android:summary="@string/pref_dark_mode_summary"
|
|
||||||
android:defaultValue="true"/>
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:key="pref_symbols"
|
android:key="pref_symbols"
|
||||||
android:title="@string/pref_symbols"
|
android:title="@string/pref_symbols"
|
||||||
|
@ -35,6 +29,14 @@
|
||||||
android:positiveButtonText="@null" />
|
android:positiveButtonText="@null" />
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory android:title="@string/pref_group_dark_theme">
|
||||||
|
<SwitchPreference android:id="@+id/pref_dark_theme"
|
||||||
|
android:key="pref_dark_mode_setting"
|
||||||
|
android:title="@string/pref_dark_mode"
|
||||||
|
android:summary="@string/pref_dark_mode_summary"
|
||||||
|
android:defaultValue="true"/>
|
||||||
|
</PreferenceCategory>
|
||||||
|
|
||||||
<PreferenceCategory android:title="@string/pref_group_highlight_selection">
|
<PreferenceCategory android:title="@string/pref_group_highlight_selection">
|
||||||
<SwitchPreference android:id="@+id/pref_highlight_connected"
|
<SwitchPreference android:id="@+id/pref_highlight_connected"
|
||||||
android:key="pref_highlight_connected"
|
android:key="pref_highlight_connected"
|
||||||
|
|
Loading…
Reference in a new issue