summaryrefslogtreecommitdiff
path: root/main/src/ui/res/xml/vpn_ipsettings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/res/xml/vpn_ipsettings.xml')
-rw-r--r--main/src/ui/res/xml/vpn_ipsettings.xml71
1 files changed, 38 insertions, 33 deletions
diff --git a/main/src/ui/res/xml/vpn_ipsettings.xml b/main/src/ui/res/xml/vpn_ipsettings.xml
index 5df7ffa8..2b03c694 100644
--- a/main/src/ui/res/xml/vpn_ipsettings.xml
+++ b/main/src/ui/res/xml/vpn_ipsettings.xml
@@ -1,53 +1,58 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
+<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2012-2016 Arne Schwabe
~ Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
-->
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreference
- android:disableDependentsState="true"
- android:key="usePull"
- android:summaryOff="@string/pull_off_summary"
- android:summaryOn="@string/pull_on_summary"
- android:title="@string/use_pull" />
+ android:disableDependentsState="true"
+ android:key="usePull"
+ android:summaryOff="@string/pull_off_summary"
+ android:summaryOn="@string/pull_on_summary"
+ android:title="@string/use_pull" />
- <PreferenceCategory android:title="IP" >
+ <PreferenceCategory android:title="IP">
<EditTextPreference
- android:dependency="usePull"
- android:dialogMessage="@string/ipv4_dialog_title"
- android:key="ipv4_address"
- android:title="@string/ipv4_address" />
+ android:dependency="usePull"
+ android:dialogMessage="@string/ipv4_dialog_title"
+ android:key="ipv4_address"
+ android:title="@string/ipv4_address"
+ app:useSimpleSummaryProvider="true" />
<EditTextPreference
- android:dependency="usePull"
- android:dialogMessage="@string/ipv6_dialog_tile"
- android:key="ipv6_address"
- android:title="@string/ipv6_address" />
+ android:dependency="usePull"
+ android:dialogMessage="@string/ipv6_dialog_tile"
+ android:key="ipv6_address"
+ android:title="@string/ipv6_address"
+ app:useSimpleSummaryProvider="true" />
<CheckBoxPreference
- android:key="nobind"
- android:persistent="false"
- android:summary="@string/nobind_summary"
- android:title="@string/no_bind" />
+ android:key="nobind"
+ android:persistent="false"
+ android:summary="@string/nobind_summary"
+ android:title="@string/no_bind" />
</PreferenceCategory>
- <PreferenceCategory android:title="@string/dns" >
+ <PreferenceCategory android:title="@string/dns">
<CheckBoxPreference
- android:key="overrideDNS"
- android:summary="@string/dns_override_summary"
- android:title="@string/override_dns" />
+ android:key="overrideDNS"
+ android:summary="@string/dns_override_summary"
+ android:title="@string/override_dns" />
<EditTextPreference
- android:key="searchdomain"
- android:title="@string/searchdomain" />
+ android:key="searchdomain"
+ android:title="@string/searchdomain"
+ app:useSimpleSummaryProvider="true" />
<EditTextPreference
- android:dialogMessage="@string/dns1_summary"
- android:key="dns1"
- android:title="@string/dns_server" />
+ android:dialogMessage="@string/dns1_summary"
+ android:key="dns1"
+ android:title="@string/dns_server"
+ app:useSimpleSummaryProvider="true" />
<EditTextPreference
- android:dialogMessage="@string/secondary_dns_message"
- android:key="dns2"
- android:title="@string/backup_dns" />
+ android:dialogMessage="@string/secondary_dns_message"
+ android:key="dns2"
+ android:title="@string/backup_dns"
+ app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
</PreferenceScreen> \ No newline at end of file