aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/xml/preferences.xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-01 07:34:00 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-01 14:57:25 +0200
commitd4f5151a3c2adcc52eb9366e622f3e0826cdc5b1 (patch)
treec671e1583f9962373233e2c84c1409a91ea687dd /app/src/main/res/xml/preferences.xml
parentglobal: fix theme situation and clean up cruft while adding more cruft (diff)
downloadwireguard-android-d4f5151a3c2adcc52eb9366e622f3e0826cdc5b1.tar.xz
wireguard-android-d4f5151a3c2adcc52eb9366e622f3e0826cdc5b1.zip
theme: add dark theme with toggle
Diffstat (limited to 'app/src/main/res/xml/preferences.xml')
-rw-r--r--app/src/main/res/xml/preferences.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index c73c174b..acec919c 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -7,4 +7,10 @@
android:title="@string/restore_on_boot_title" />
<com.wireguard.android.preference.ToolsInstallerPreference android:key="tools_installer" />
<com.wireguard.android.preference.ZipExporterPreference android:key="zip_exporter" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="dark_theme"
+ android:summaryOn="@string/dark_theme_summary_on"
+ android:summaryOff="@string/dark_theme_summary_off"
+ android:title="@string/dark_theme_title" />
</PreferenceScreen>