aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res/xml/preferences.xml
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/main/res/xml/preferences.xml')
-rw-r--r--ui/src/main/res/xml/preferences.xml48
1 files changed, 48 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..a7f9151f
--- /dev/null
+++ b/ui/src/main/res/xml/preferences.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2017-2025 WireGuard LLC. All Rights Reserved.
+ ~ SPDX-License-Identifier: Apache-2.0
+ -->
+<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:key="settings">
+ <com.wireguard.android.preference.VersionPreference
+ android:icon="@mipmap/ic_launcher"
+ android:key="version" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="restore_on_boot"
+ android:singleLineTitle="false"
+ android:summaryOff="@string/restore_on_boot_summary_off"
+ android:summaryOn="@string/restore_on_boot_summary_on"
+ android:title="@string/restore_on_boot_title" />
+ <com.wireguard.android.preference.ZipExporterPreference android:key="zip_exporter" />
+ <com.wireguard.android.preference.QuickTilePreference android:key="quick_tile" />
+ <Preference
+ android:key="log_viewer"
+ android:singleLineTitle="false"
+ android:summary="@string/log_viewer_pref_summary"
+ android:title="@string/log_viewer_pref_title" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="dark_theme"
+ android:singleLineTitle="false"
+ android:summaryOff="@string/dark_theme_summary_off"
+ android:summaryOn="@string/dark_theme_summary_on"
+ android:title="@string/dark_theme_title" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="multiple_tunnels"
+ android:singleLineTitle="false"
+ android:summaryOff="@string/multiple_tunnels_summary_off"
+ android:summaryOn="@string/multiple_tunnels_summary_on"
+ android:title="@string/multiple_tunnels_title" />
+ <com.wireguard.android.preference.ToolsInstallerPreference android:key="tools_installer" />
+ <com.wireguard.android.preference.KernelModuleEnablerPreference android:key="kernel_module_enabler" />
+ <CheckBoxPreference
+ android:defaultValue="false"
+ android:key="allow_remote_control_intents"
+ android:singleLineTitle="false"
+ android:summaryOff="@string/allow_remote_control_intents_summary_off"
+ android:summaryOn="@string/allow_remote_control_intents_summary_on"
+ android:title="@string/allow_remote_control_intents_title" />
+ <com.wireguard.android.preference.DonatePreference android:singleLineTitle="false" />
+</androidx.preference.PreferenceScreen>