summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/d_obfuscation_proxy.xml
blob: 2ce9d7b351722bc9c1f21e2ca65322c7d636d5b5 (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
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:scrollbars="none">
    <androidx.appcompat.widget.LinearLayoutCompat
        android:orientation = "vertical"
         android:layout_height="wrap_content"
        android:layout_width="match_parent"
        android:padding="@dimen/activity_margin"
        >
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Obfuscation Proxy Pinning"
            android:textStyle="bold"
            android:gravity="center_horizontal"
            android:textAppearance="@android:style/TextAppearance.Large"
            />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Proxy IP"
            android:paddingTop="@dimen/activity_margin"
            android:textStyle="bold"
            android:textAppearance="@android:style/TextAppearance.DeviceDefault" />
        <androidx.appcompat.widget.AppCompatEditText
            android:id="@+id/ip_field"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Proxy Port"
            android:paddingTop="@dimen/activity_margin"
            android:textStyle="bold"
            android:textAppearance="@android:style/TextAppearance.DeviceDefault"

            />
        <androidx.appcompat.widget.AppCompatEditText
            android:id="@+id/port_field"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>

        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Certificate"
            android:textStyle="bold"
            android:paddingTop="@dimen/activity_margin"
            android:textAppearance="@android:style/TextAppearance.DeviceDefault" />
        <androidx.appcompat.widget.AppCompatEditText
            android:id="@+id/cert_field"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>
        <se.leap.bitmaskclient.base.views.IconSwitchEntry
            android:id="@+id/kcp_switch"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:text="KCP"
            app:subtitle="UDP based network protocol"
            app:icon="@drawable/ic_multiple_stop"
            >

        </se.leap.bitmaskclient.base.views.IconSwitchEntry>

        <androidx.appcompat.widget.LinearLayoutCompat
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end"
            android:layout_marginTop="@dimen/activity_margin"
            android:gravity="right"
            android:orientation="vertical">
            <androidx.appcompat.widget.AppCompatButton
                android:id="@+id/button_defaults"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Use defaults"
                android:background="@drawable/cust_button_secondary"
                android:textColor="@color/color_font_btn_secondary"
                android:layout_marginHorizontal="@dimen/stdpadding"
                />
            <androidx.appcompat.widget.LinearLayoutCompat
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/stdpadding"
                android:orientation="horizontal">
                <androidx.appcompat.widget.AppCompatButton
                    android:id="@+id/button_cancel"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginHorizontal="@dimen/stdpadding"
                    android:textColor="@color/color_font_btn_primary"
                    android:text="@string/cancel"
                    />

                <androidx.appcompat.widget.AppCompatButton
                    android:id="@+id/button_save"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginHorizontal="@dimen/stdpadding"
                    android:textColor="@color/color_font_btn_primary"
                    android:text="@string/save"
                    />
            </androidx.appcompat.widget.LinearLayoutCompat>

        </androidx.appcompat.widget.LinearLayoutCompat>

    </androidx.appcompat.widget.LinearLayoutCompat>
</ScrollView>