aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/xml/pref_general.xml
diff options
context:
space:
mode:
authorMarvin Borner2018-08-29 21:18:05 +0200
committerMarvin Borner2018-08-29 21:18:05 +0200
commit35f01b107d206f237763b10ebd6d5c25c71d5610 (patch)
tree86564a6ca64a5da447faa7f23ba37a8add521a1e /app/src/main/res/xml/pref_general.xml
parent7e03dd99cb3f84f3d176ba44fcce84e551dc3c03 (diff)
Added settings activity for general and account settings
Diffstat (limited to 'app/src/main/res/xml/pref_general.xml')
-rw-r--r--app/src/main/res/xml/pref_general.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/src/main/res/xml/pref_general.xml b/app/src/main/res/xml/pref_general.xml
new file mode 100644
index 0000000..9016d00
--- /dev/null
+++ b/app/src/main/res/xml/pref_general.xml
@@ -0,0 +1,11 @@
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <SwitchPreference
+ android:id="@+id/dark_theme_switch_button"
+ android:defaultValue="true"
+ android:key="dark_theme_switch"
+ android:summaryOff="@string/pref_description_dark_theme_off"
+ android:summaryOn="@string/pref_description_dark_theme_on"
+ android:title="@string/pref_title_dark_theme" />
+
+</PreferenceScreen>