blob: 66d7d1140b309c748244c8a0477f735ec71bcb21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<?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"
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" />
<PreferenceCategory android:title="IP">
<EditTextPreference
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"
app:useSimpleSummaryProvider="true" />
<CheckBoxPreference
android:key="nobind"
android:persistent="false"
android:summary="@string/nobind_summary"
android:title="@string/no_bind" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/dns">
<CheckBoxPreference
android:key="overrideDNS"
android:summary="@string/dns_override_summary"
android:title="@string/override_dns" />
<EditTextPreference
android:key="searchdomain"
android:title="@string/searchdomain"
app:useSimpleSummaryProvider="true" />
<EditTextPreference
android:dialogMessage="@string/dns1_summary"
android:key="dns1"
android:title="@string/dns_server"
/>
<EditTextPreference
android:dialogMessage="@string/secondary_dns_message"
android:key="dns2"
android:title="@string/backup_dns"
/>
</PreferenceCategory>
</PreferenceScreen>
|