diff options
Diffstat (limited to 'app/java/res/xml')
-rw-r--r-- | app/java/res/xml/settings.xml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/app/java/res/xml/settings.xml b/app/java/res/xml/settings.xml new file mode 100644 index 0000000..ea44ce0 --- /dev/null +++ b/app/java/res/xml/settings.xml @@ -0,0 +1,30 @@ +<?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="Use automatic DNS Server / Pihole discovery" + android:summary="Whether to use the automatic discovery mechanism to set the DNS server" + /> + + <SwitchPreference + android:key="use_wifi_listener" + android:defaultValue="false" + android:title="Use WiFi listener" + android:summary="Automatically de/activates the proxy on WiFi dis/connect" + /> + + <!-- USE_WIFI_LISTENER --> + <!-- SELECT_FROM_KNOWN_SSIDS --> + <!-- <MultiSelectListPreference --> + <!-- android:id="@+id/known_ssids" --> + <!-- android:key="known_ssids" --> + <!-- android:entries="" --> + <!-- android:entryValues="" --> + <!-- /> --> + + <!-- USE_AUTOMATIC_DNS/PIHOLE_SERVER_DISCOVERY --> + <!-- SET_MANUAL_DNS/PIHOLE_SERVER_IP --> +</PreferenceScreen> |