summaryrefslogtreecommitdiff
path: root/res/xml/vpn_ipsettings.xml
blob: 00774b6572d34220f134f190e96e769c52b25312 (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
59
60
61
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >

    <SwitchPreference
        android:disableDependentsState="true"
        android:key="usePull"
        android:title="@string/use_pull" 
        android:summaryOn="@string/pull_on_summary"
    	android:summaryOff="@string/pull_off_summary" />

    <PreferenceCategory android:title="IP" >
        <EditTextPreference
            android:dependency="usePull"
            android:dialogMessage="@string/ipv4_dialog_title"
            android:key="ipv4_address"
            android:title="@string/ipv4_address" />
        <EditTextPreference
            android:dependency="usePull"
            android:dialogMessage="@string/ipv6_dialog_tile"
            android:key="ipv6_address"
            android:title="@string/ipv6_address" />
    </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" />
        <EditTextPreference
            android:key="dns1"
            android:dialogMessage="@string/dns1_summary"
            android:title="@string/dns_server" />
        <EditTextPreference
            android:key="dns2"
            android:dialogMessage="@string/secondary_dns_message"
            android:title="@string/backup_dns" />
    </PreferenceCategory>
    <PreferenceCategory android:title="Routing" >
        <CheckBoxPreference
			android:title="@string/ignored_pushed_routes"
			android:key="routenopull"
			android:summary="@string/ignore_routes_summary"

            />
        <CheckBoxPreference
            android:disableDependentsState="true"
            android:key="useDefaultRoute"
            android:summary="@string/default_route_summary"
            android:title="@string/use_default_title" />

        <EditTextPreference
            android:dependency="useDefaultRoute"
            android:dialogMessage="@string/custom_route_message"
            android:key="customRoutes"
            android:title="@string/custom_routes_title" />
    </PreferenceCategory>

</PreferenceScreen>