summaryrefslogtreecommitdiff
path: root/main/src/ui/res/xml/vpn_obscure.xml
blob: aa78050e2006d1ebbc0700f71cee3cbdf1e9cc7b (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?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"
    android:title="@string/advanced_settings">
    <PreferenceCategory android:title="@string/client_behaviour">

        <CheckBoxPreference
            android:key="usePersistTun"
            android:persistent="false"
            android:summary="@string/persisttun_summary"
            android:title="@string/persistent_tun_title" />

        <CheckBoxPreference
            android:key="peerInfo"
            android:summary="@string/pushpeerinfosummary"
            android:title="@string/pushpeerinfo" />
    </PreferenceCategory>

    <CheckBoxPreference
        android:key="useRandomHostname"
        android:persistent="false"
        android:summary="@string/random_host_summary"
        android:title="@string/random_host_prefix" />
    <CheckBoxPreference
        android:key="useFloat"
        android:persistent="false"
        android:summary="@string/float_summary"
        android:title="@string/float_title" />

    <PreferenceCategory android:title="@string/payload_options">
        <CheckBoxPreference
            android:key="mssFix"
            android:persistent="false"
            android:title="@string/mssfix_checkbox" />
        <EditTextPreference
            android:dependency="mssFix"
            android:dialogMessage="@string/mssfix_value_dialog"
            android:key="mssFixValue"
            android:persistent="false"
            android:title="@string/mssfix_dialogtitle" />
        <EditTextPreference
            android:key="tunmtu"
            android:persistent="false"
            android:title="Tunnel MTU (tun-mtu)"/>
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/custom_config_title">
        <CheckBoxPreference
            android:key="enableCustomOptions"
            android:persistent="false"
            android:summary="@string/custom_config_summary"
            android:title="@string/custom_config_title" />

        <EditTextPreference
            android:dependency="enableCustomOptions"
            android:dialogMessage="@string/custom_option_warning"
            android:key="customOptions"
            android:persistent="false"
            android:title="@string/custom_options_title" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/reconnection_settings">
        <ListPreference
            android:entries="@array/crm_entries"
            android:entryValues="@array/crm_values"
            android:key="connectretrymax"
            android:persistent="false"
            android:title="@string/connection_retries" />

        <EditTextPreference
            android:dialogMessage="@string/connectretrymessage"
            android:key="connectretry"
            android:persistent="false"
            android:title="@string/connectretrywait" />

        <EditTextPreference
            android:dialogMessage="@string/connectretrymaxmessage"
            android:key="connectretrymaxtime"
            android:persistent="false"
            android:title="@string/connectretrymaxtitle" />
    </PreferenceCategory>

</PreferenceScreen>