summaryrefslogtreecommitdiff
path: root/mobile-kt/app/res/xml/settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-kt/app/res/xml/settings.xml')
-rw-r--r--mobile-kt/app/res/xml/settings.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/mobile-kt/app/res/xml/settings.xml b/mobile-kt/app/res/xml/settings.xml
new file mode 100644
index 0000000..31cc8f0
--- /dev/null
+++ b/mobile-kt/app/res/xml/settings.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+>
+ <SwitchPreference
+ android:key="use_automatic_dns_server_discovery"
+ android:defaultValue="true"
+ android:title="@string/settings__use_automatic_dns_server_discovery__title"
+ android:summary="@string/settings__use_automatic_dns_server_discovery__summary"
+ />
+
+ <EditTextPreference
+ android:key="dns_server_address"
+ android:title="@string/settings__dns_server_address__title"
+ />
+
+ <SwitchPreference
+ android:key="use_wifi_listener"
+ android:defaultValue="false"
+ android:title="@string/settings__use_wifi_listener__title"
+ android:summary="@string/settings__use_wifi_listener__summary"
+ />
+
+ <SwitchPreference
+ android:key="use_wifi_listener_for_activation"
+ android:dependency="use_wifi_listener"
+ android:defaultValue="false"
+ android:title="@string/settings__use_wifi_listener_for_activation__title"
+ android:summary="@string/settings__use_wifi_listener_for_activation__summary"
+ />
+
+ <EditTextPreference
+ android:key="wifi_listener_ssid"
+ android:dependency="use_wifi_listener_for_activation"
+ android:title="@string/settings__wifi_listener_ssid__title"
+ />
+
+ <!-- SELECT_FROM_KNOWN_SSIDS -->
+ <!-- <MultiSelectListPreference -->
+ <!-- android:id="@+id/known_ssids" -->
+ <!-- android:key="known_ssids" -->
+ <!-- android:entries="" -->
+ <!-- android:entryValues="" -->
+ <!-- /> -->
+</PreferenceScreen>