summaryrefslogtreecommitdiff
path: root/main/src/ui/res/xml/general_settings.xml
blob: 5c2ff8aa5176794672e8f5b2382976cdfb2706f4 (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
85
86
87
88
89
90
<?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:tools="http://schemas.android.com/tools">
    <PreferenceCategory android:title="@string/appbehaviour" android:key="app_behaviour">
        <CheckBoxPreference
                android:defaultValue="true"
                android:key="showlogwindow"
                android:summary="@string/show_log_summary"
                android:title="@string/show_log_window"/>


        <CheckBoxPreference
            android:defaultValue="false"
            android:key="ovpn3"
            android:disableDependentsState="true"
            android:summaryOn="Use the C++ OpenVPN library (experimental)"
            android:summaryOff="Use OpenVPN 2.x"
            android:title="OpenVPN 3 Core"/>


        <de.blinkt.openvpn.views.DefaultVPNListPreference
            android:key="alwaysOnVpn"
            android:title="@string/defaultvpn"
            tools:summary="@string/defaultvpnsummary"
            />

        <CheckBoxPreference
                android:defaultValue="false"
                android:key="restartvpnonboot"
                android:summary="@string/onbootrestartsummary"
                android:title="@string/onbootrestart"/>

        <Preference
                android:key="clearapi"
                android:persistent="false"
                android:title="@string/clear_external_apps"/>
    </PreferenceCategory>

    <PreferenceCategory android:title="@string/vpnbehaviour">
        <CheckBoxPreference
                android:defaultValue="true"
                android:key="usesystemproxy"
                android:dependency="ovpn3"
                android:summary="@string/use_system_proxy_summary"
                android:title="@string/use_system_proxy"/>
        <CheckBoxPreference
                android:defaultValue="true"
                android:key="netchangereconnect"
                android:summary="@string/netchange_summary"
                android:title="@string/netchange"/>


        <CheckBoxPreference
                android:defaultValue="false"
                android:key="screenoff"
                android:summary="@string/screenoff_summary"
                android:title="@string/screenoff_title"/>

        <Preference
                android:dependency=""
            android:key="osslspeed"
            android:persistent="false"
            android:title="@string/osslspeedtest" />
    </PreferenceCategory>

    <PreferenceCategory android:title="@string/device_specific" android:key="device_hacks">
        <CheckBoxPreference
                android:defaultValue="false"
                android:key="useCM9Fix"
                android:summary="@string/owner_fix_summary"
                android:title="@string/owner_fix"/>
        <CheckBoxPreference
                android:defaultValue="false"
                android:key="loadTunModule"
                android:summary="@string/setting_loadtun_summary"
                android:title="@string/setting_loadtun"/>
        <CheckBoxPreference
            android:defaultValue="false"
            android:title="Use internal file browser"
            android:summary="Always use the very basic file browser instead of the Android file browser. Use this option if you have problems selecting files."
            android:key="useInternalFileSelector">
        </CheckBoxPreference>
    </PreferenceCategory>

</PreferenceScreen>