summaryrefslogtreecommitdiff
path: root/main/src/ui/res/xml/vpn_routing.xml
blob: 4b662b25b64e242684c66ef12a0379558131508d (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
<?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" >

    <CheckBoxPreference
        android:key="routenopull"
        android:summary="@string/ignore_routes_summary"
        android:title="@string/ignored_pushed_routes" />

    <CheckBoxPreference
        android:title="@string/blocklocal_title"
        android:summary="@string/blocklocal_summary"
        android:key="unblockLocal"
    />

    <CheckBoxPreference
        android:title="@string/title_block_address_families"
        android:key="blockUnusedAF"
        android:summary="@string/summary_block_address_families"
        />
    <PreferenceCategory android:title="@string/ipv4" >
        <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" />

        <EditTextPreference
            android:dependency="useDefaultRoute"
            android:dialogMessage="@string/custom_route_message_excluded"
            android:key="excludedRoutes"
            android:title="@string/custom_routes_title_excluded" />
    </PreferenceCategory>
    <PreferenceCategory android:title="@string/ipv6" >
        <CheckBoxPreference
            android:disableDependentsState="true"
            android:key="useDefaultRoutev6"
            android:summary="@string/default_route_summary"
            android:title="@string/use_default_title" />

        <EditTextPreference
            android:dependency="useDefaultRoutev6"
            android:dialogMessage="@string/custom_route_message"
            android:key="customRoutesv6"
            android:title="@string/custom_routes_title" />

        <!-- disable for now. Not supported by OpenVPN itself -->
        <EditTextPreference
            android:enabled="false"
            android:dependency="useDefaultRoute"
            android:dialogMessage="@string/custom_route_message_excluded"
            android:key="excludedRoutesv6"
            android:title="@string/custom_routes_title_excluded" />
    </PreferenceCategory>

</PreferenceScreen>