diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/values/strings.xml | 3 | ||||
-rw-r--r-- | app/src/main/res/xml/preferences.xml | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index d3bc8b99..408de6b1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -29,6 +29,9 @@ <string name="create_activity_title">Create WireGuard Tunnel</string> <string name="create_empty">Create from scratch</string> <string name="create_from_file">Create from file or archive</string> + <string name="dark_theme_title">Use dark theme</string> + <string name="dark_theme_summary_on">Currently using dark night theme</string> + <string name="dark_theme_summary_off">Currently using light day theme</string> <string name="delete">Delete</string> <string name="dns_servers">DNS servers</string> <string name="edit">Edit</string> 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> |