summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/f_settings.xml
blob: 3ce19797943c6f2c8f0a4d9d6a38a4702b176694 (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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="utf-8"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:tools="http://schemas.android.com/tools"
    android:padding="@dimen/stdpadding"
    tools:viewBindingIgnore="true">
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <androidx.appcompat.widget.AppCompatTextView
            android:id="@+id/general_header"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textAppearance="@style/TextAppearance.AppCompat.Title"
            android:text="@string/vpn_settings"
            />

        <se.leap.bitmaskclient.base.views.IconTextEntry
            android:id="@+id/always_on_vpn"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="@string/always_on_vpn"
            app:subtitle="@string/subtitle_always_on_vpn"
            app:icon="@drawable/ic_always_on_36"
            android:visibility="visible"
            />

        <se.leap.bitmaskclient.base.views.IconTextEntry
            android:id="@+id/exclude_apps"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="@string/exclude_apps_fragment_title"
            app:icon="@drawable/ic_shield_remove_grey600_36dp"
            android:visibility="visible"
            />

        <se.leap.bitmaskclient.base.views.IconSwitchEntry
            android:id="@+id/prefer_udp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="@string/prefer_udp"
            app:subtitle="@string/prefer_udp_subtitle"
            app:icon="@drawable/ic_multiple_stop"
            app:singleLine="false"
            />

        <androidx.appcompat.widget.AppCompatTextView
            android:id="@+id/circumvention_header"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textAppearance="@style/TextAppearance.AppCompat.Title"
            android:text="@string/censorship_circumvention"
            android:paddingTop="@dimen/activity_margin"
            />
        <se.leap.bitmaskclient.base.views.IconSwitchEntry
            android:id="@+id/bridges_switch"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="@string/nav_drawer_obfuscated_connection"
            app:subtitle="@string/nav_drawer_subtitle_obfuscated_connection"
            app:icon="@drawable/ic_bridge_36"
            app:singleLine="false"
            />

        <se.leap.bitmaskclient.base.views.IconSwitchEntry
            android:id="@+id/snowflake_switch"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:icon="@drawable/ic_snowflake"
            app:text="@string/use_snowflake"
            app:subtitle="@string/snowflake_description"
            app:singleLine="false"
            android:visibility="gone"
            />

        <androidx.appcompat.widget.AppCompatTextView
            android:id="@+id/experimental_header"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:textAppearance="@style/TextAppearance.AppCompat.Title"
            android:text="@string/experimental_features"
            android:paddingTop="@dimen/activity_margin"
            />


        <se.leap.bitmaskclient.base.views.IconSwitchEntry
            android:id="@+id/enableIPv6Firewall"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="@string/ipv6Firewall"
            app:subtitle="@string/require_root"
            app:icon="@drawable/ic_cancel"
            />

        <se.leap.bitmaskclient.base.views.IconTextEntry
            android:id="@+id/tethering"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="@string/tethering"
            app:subtitle="@string/require_root"
            app:icon="@drawable/ic_access_point_36"
            />

        <se.leap.bitmaskclient.base.views.IconTextEntry
            android:id="@+id/gateway_pinning"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="Gateway pinning"
            app:singleLine="false"
            app:subtitle="Connect to a specific Gateway for debugging purposes"
            />

        <se.leap.bitmaskclient.base.views.IconSwitchEntry
            android:id="@+id/experimental_transports"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="Experimental transports"
            app:singleLine="false"
            app:subtitle="These transports might circumvent censorship, but are still in a testing phase"
            />

        <se.leap.bitmaskclient.base.views.IconSwitchEntry
            android:id="@+id/obfuscation_proxy_pinning"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="Obfuscation proxy pinning"
            app:singleLine="false"
            app:subtitle="Connect to a specific obfuscation proxy for debugging purposes"
            android:visibility="gone"
            />

    </LinearLayout>
</ScrollView>