From 650bd797ba5dcfccc57e497c2331a4bc5e9d5dc6 Mon Sep 17 00:00:00 2001 From: ErikWaegerle Date: Wed, 24 Jun 2020 16:33:44 +0200 Subject: [PATCH] Extension of pref_settings_general.xml with a switch. This is used to activate/deactivate the dark theme. Adaptation to German and English language --- app/src/main/res/values-de/strings.xml | 3 +++ app/src/main/res/values/strings.xml | 5 +++++ app/src/main/res/xml/pref_settings_general.xml | 6 ++++++ 3 files changed, 14 insertions(+) diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 1285f24..05fbbd2 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -10,6 +10,9 @@ Einstellungen + Nachtmodus + Nachtmodus + Wechsel zwischen Tages und Nacht Modus In Zusammenarbeit mit: diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 7a89e2c..1334060 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -30,6 +30,7 @@ Value highlight Same values Notes + Game Game settings @@ -54,6 +55,10 @@ Automatically remove notes when setting values on connected cells Timer Reset Also reset the timer, when resetting the game board. + Dark Mode + + Dark Theme + switch between light and dark theme Privacy Friendly Sudoku diff --git a/app/src/main/res/xml/pref_settings_general.xml b/app/src/main/res/xml/pref_settings_general.xml index 3102b95..6d59eec 100644 --- a/app/src/main/res/xml/pref_settings_general.xml +++ b/app/src/main/res/xml/pref_settings_general.xml @@ -19,6 +19,12 @@ android:summary="@string/pref_keep_screen_on_summary" android:defaultValue="true"/> + +