aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res/xml/preferences.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2020-03-09 19:06:11 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2020-03-09 19:24:27 +0530
commit7d48bef70a56d4370856eedab619b1f83ac3d0d0 (patch)
tree76fd859578e499cd3a8fd2f402652530ea36a72d /ui/src/main/res/xml/preferences.xml
parentEnable nonnull generation for tunnel module (diff)
downloadwireguard-android-7d48bef70a56d4370856eedab619b1f83ac3d0d0.tar.xz
wireguard-android-7d48bef70a56d4370856eedab619b1f83ac3d0d0.zip
Rename app module to ui
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/res/xml/preferences.xml')
-rw-r--r--ui/src/main/res/xml/preferences.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/ui/src/main/res/xml/preferences.xml b/ui/src/main/res/xml/preferences.xml
new file mode 100644
index 00000000..9c09ae89
--- /dev/null
+++ b/ui/src/main/res/xml/preferences.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <com.wireguard.android.preference.VersionPreference android:icon="@mipmap/ic_launcher" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="restore_on_boot"
+ android:summary="@string/restore_on_boot_summary"
+ android:title="@string/restore_on_boot_title" />
+ <com.wireguard.android.preference.ModuleDownloaderPreference android:key="module_downloader" />
+ <com.wireguard.android.preference.ToolsInstallerPreference android:key="tools_installer" />
+ <com.wireguard.android.preference.ZipExporterPreference />
+ <com.wireguard.android.preference.LogExporterPreference />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="dark_theme"
+ android:summaryOff="@string/dark_theme_summary_off"
+ android:summaryOn="@string/dark_theme_summary_on"
+ android:title="@string/dark_theme_title" />
+</androidx.preference.PreferenceScreen>