summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_internet_activity_policy.xml
blob: ee82abf8e71f0ab5f3664c5f4202b1b06ec2af0b (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
<?xml version="1.0" encoding="utf-8"?>
<layout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    >
<androidx.coordinatorlayout.widget.CoordinatorLayout
    android:background="@color/background"
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    >

    <include layout="@layout/topbar" />

    <androidx.core.widget.NestedScrollView
        android:layout_height="match_parent"
        android:layout_width="match_parent"
        app:layout_behavior="@string/appbar_scrolling_view_behavior"
        >
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            >
        <LinearLayout
            android:layout_height="match_parent"
            android:layout_width="match_parent"
            android:orientation="vertical"
            android:padding="16dp"
            >

            <TextView
                android:id="@+id/internet_activity_privacy_info"
                android:layout_gravity="center_horizontal"
                android:layout_height="wrap_content"
                android:layout_width="match_parent"
                android:text="@string/ipscrambling_info"
                android:lineSpacingExtra="5sp"
                />

            <RadioGroup
                android:id="@+id/internet_activity_privacy_choices"
                android:layout_height="wrap_content"
                android:layout_width="match_parent"
                android:orientation="vertical"
                >
                <include layout="@layout/ipscrambling_item_selectmode"
                    android:id="@+id/radio_use_real_ip"
                    android:layout_width="match_parent"
                    android:layout_height="88dp"
                    app:title="@{@string/ipscrambling_real_ip_label}"
                    app:subtitle="@{@string/ipscrambling_real_ip_subtitle}"
                    />
                <include layout="@layout/ipscrambling_item_selectmode"
                android:id="@+id/radio_use_hidden_ip"
                android:layout_width="match_parent"
                android:layout_height="88dp"
                app:title="@{@string/ipscrambling_hide_ip_label}"
                app:subtitle="@{@string/ipscrambling_hide_ip_subtitle}"
                />
            </RadioGroup>

            <TextView  android:id="@+id/tor_disclaimer"
                android:layout_height="wrap_content"
                android:layout_width="match_parent"
                android:padding="4dp"
                android:textSize="12sp"
                android:textColor="@color/secondary_text"
                android:text="@string/ipscrambling_tor_disclaimer"

                />

            <ProgressBar
                android:id="@+id/loader"
                android:layout_width="48dp"
                android:layout_height="48dp"
                android:layout_margin="24dp"
                android:layout_gravity="center"
                android:visibility="gone"
                />

            <TextView
                android:id="@+id/ipscrambling_location_label"
                android:layout_height="wrap_content"
                android:layout_width="match_parent"
                android:layout_marginTop="16dp"
                android:text="@string/ipscrambling_location_label"
                android:textColor="@color/primary_text"
                android:textFontWeight="500"
                android:textSize="14sp"
                />
            <FrameLayout
                android:id="@+id/select_location_container"
                android:layout_width="match_parent"
                android:layout_height="54dp"
                android:background="@drawable/bg_outlined"
                android:layout_marginTop="16dp"
                android:padding="1dp"
                >
                <Spinner android:id="@+id/ipscrambling_select_location"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_vertical"
                    />
            </FrameLayout>
            <TextView
                android:id="@+id/ipscrambling_select_apps"
                android:layout_height="wrap_content"
                android:layout_width="wrap_content"
                android:layout_marginTop="32dp"
                android:layout_marginBottom="16dp"
                android:text="@string/ipscrambling_select_app"
                android:textColor="@color/primary_text"
                android:textFontWeight="500"
                android:textSize="14sp"
                />
        </LinearLayout>

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/apps"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                />
        </LinearLayout>
    </androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</layout>