1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .constraintlayout.widget.ConstraintLayout xmlns : android =" http://schemas.android.com/apk/res/android"
2
+
3
+ <ScrollView
4
+ xmlns : android =" http://schemas.android.com/apk/res/android"
3
5
xmlns : app =" http://schemas.android.com/apk/res-auto"
4
6
xmlns : tools =" http://schemas.android.com/tools"
5
7
android : layout_width =" match_parent"
6
8
android : layout_height =" match_parent"
7
9
tools : context =" .MainActivity" >
8
10
9
- <LinearLayout
10
- android : id =" @+id/linearLayout"
11
- android : layout_width =" wrap_content"
12
- android : layout_height =" wrap_content"
13
- android : orientation =" vertical"
14
- app : layout_constraintBottom_toBottomOf =" parent"
15
- app : layout_constraintEnd_toEndOf =" parent"
16
- app : layout_constraintStart_toStartOf =" parent"
17
- app : layout_constraintTop_toTopOf =" parent" >
18
-
19
- <Button
20
- android : id =" @+id/unpinned"
21
- android : layout_width =" match_parent"
22
- android : layout_height =" wrap_content"
23
- android : onClick =" sendUnpinned"
24
- android : text =" Unpinned request" />
11
+ <androidx .constraintlayout.widget.ConstraintLayout
12
+ android : layout_width =" match_parent"
13
+ android : layout_height =" match_parent"
14
+ android : padding =" 10dp" >
25
15
26
- <Button
27
- android : id =" @+id/webview_unpinned "
16
+ <LinearLayout
17
+ android : id =" @+id/linearLayout "
28
18
android : layout_width =" match_parent"
29
19
android : layout_height =" wrap_content"
30
- android : onClick =" sendUnpinnedWebView"
31
- android : text =" Unpinned WebView request" />
20
+ android : orientation =" vertical"
21
+ app : layout_constraintBottom_toBottomOf =" parent"
22
+ app : layout_constraintEnd_toEndOf =" parent"
23
+ app : layout_constraintStart_toStartOf =" parent"
24
+ app : layout_constraintTop_toTopOf =" parent" >
32
25
33
- <Button
34
- android : id =" @+id/config_pinned "
35
- android : layout_width =" match_parent"
36
- android : layout_height =" wrap_content"
37
- android : onClick =" sendConfigPinned "
38
- android : text =" Config-pinned request" />
26
+ <Button
27
+ android : id =" @+id/unpinned "
28
+ android : layout_width =" match_parent"
29
+ android : layout_height =" wrap_content"
30
+ android : onClick =" sendUnpinned "
31
+ android : text =" Unpinned request" />
39
32
40
- <Button
41
- android : id =" @+id/okhttp_pinned "
42
- android : layout_width =" match_parent"
43
- android : layout_height =" wrap_content"
44
- android : onClick =" sendOkHttpPinned "
45
- android : text =" OkHTTP pinned request" />
33
+ <Button
34
+ android : id =" @+id/webview_unpinned "
35
+ android : layout_width =" match_parent"
36
+ android : layout_height =" wrap_content"
37
+ android : onClick =" sendUnpinnedWebView "
38
+ android : text =" Unpinned WebView request" />
46
39
47
- < Button
48
- android : id = " @+id/volley_pinned "
49
- android : layout_width = " match_parent "
50
- android : layout_height = " wrap_content "
51
- android : onClick = " sendVolleyPinned "
52
- android : text = " Volley pinned request " />
40
+ < View
41
+ android : layout_width = " match_parent "
42
+ android : layout_height = " 1dp "
43
+ android : layout_marginTop = " 10dp "
44
+ android : layout_marginBottom = " 10dp "
45
+ android : background = " @android:color/darker_gray " />
53
46
54
- <Button
55
- android : id =" @+id/trustkit_pinned "
56
- android : layout_width =" match_parent"
57
- android : layout_height =" wrap_content"
58
- android : onClick =" sendTrustKitPinned "
59
- android : text =" TrustKit pinned request" />
47
+ <Button
48
+ android : id =" @+id/config_pinned "
49
+ android : layout_width =" match_parent"
50
+ android : layout_height =" wrap_content"
51
+ android : onClick =" sendConfigPinned "
52
+ android : text =" Config- pinned request" />
60
53
61
- <Button
62
- android : id =" @+id/appmattus_ct_checked "
63
- android : layout_width =" match_parent"
64
- android : layout_height =" wrap_content"
65
- android : onClick =" sendAppmattusCTChecked "
66
- android : text =" Appmattus CT request" />
54
+ <Button
55
+ android : id =" @+id/context_pinned "
56
+ android : layout_width =" match_parent"
57
+ android : layout_height =" wrap_content"
58
+ android : onClick =" sendContextPinned "
59
+ android : text =" Context-pinned request" />
67
60
68
- <Button
69
- android : id =" @+id/appmattus_okhttp_ct_checked "
70
- android : layout_width =" match_parent"
71
- android : layout_height =" wrap_content"
72
- android : onClick =" sendAppmattusOkHttpCTChecked "
73
- android : text =" Appmattus+OkHttp CT request" />
61
+ <Button
62
+ android : id =" @+id/okhttp_pinned "
63
+ android : layout_width =" match_parent"
64
+ android : layout_height =" wrap_content"
65
+ android : onClick =" sendOkHttpPinned "
66
+ android : text =" OkHTTP pinned request" />
74
67
75
- <Button
76
- android : id =" @+id/appmattus_raw_ct_checked "
77
- android : layout_width =" match_parent"
78
- android : layout_height =" wrap_content"
79
- android : onClick =" sendAppmattusRawCTChecked "
80
- android : text =" Appmattus+raw TLS CT " />
68
+ <Button
69
+ android : id =" @+id/volley_pinned "
70
+ android : layout_width =" match_parent"
71
+ android : layout_height =" wrap_content"
72
+ android : onClick =" sendVolleyPinned "
73
+ android : text =" Volley pinned request " />
81
74
82
- <Button
83
- android : id =" @+id/appmattus_webview_ct_checked "
84
- android : layout_width =" match_parent"
85
- android : layout_height =" wrap_content"
86
- android : onClick =" sendAppmattusCTWebView "
87
- android : text =" Appmattus+WebView CT " />
75
+ <Button
76
+ android : id =" @+id/trustkit_pinned "
77
+ android : layout_width =" match_parent"
78
+ android : layout_height =" wrap_content"
79
+ android : onClick =" sendTrustKitPinned "
80
+ android : text =" TrustKit pinned request " />
88
81
89
- <Button
90
- android : id =" @+id/custom_context_pinned "
91
- android : layout_width =" match_parent"
92
- android : layout_height =" wrap_content"
93
- android : onClick =" sendCustomContextPinned "
94
- android : text =" Custom context-pinned request" />
82
+ <Button
83
+ android : id =" @+id/appmattus_ct_checked "
84
+ android : layout_width =" match_parent"
85
+ android : layout_height =" wrap_content"
86
+ android : onClick =" sendAppmattusCTChecked "
87
+ android : text =" Appmattus CT request" />
95
88
96
- <Button
97
- android : id =" @+id/custom_raw_socket_pinned"
98
- android : layout_width =" match_parent"
99
- android : layout_height =" wrap_content"
100
- android : onClick =" sendCustomRawSocketPinned"
101
- android : text =" Custom manually pinned raw request" />
89
+ <Button
90
+ android : id =" @+id/appmattus_okhttp_ct_checked"
91
+ android : layout_width =" match_parent"
92
+ android : layout_height =" wrap_content"
93
+ android : onClick =" sendAppmattusOkHttpCTChecked"
94
+ android : text =" Appmattus+OkHttp CT request" />
95
+
96
+ <Button
97
+ android : id =" @+id/appmattus_raw_ct_checked"
98
+ android : layout_width =" match_parent"
99
+ android : layout_height =" wrap_content"
100
+ android : onClick =" sendAppmattusRawCTChecked"
101
+ android : text =" Appmattus+raw TLS CT" />
102
+
103
+ <Button
104
+ android : id =" @+id/appmattus_webview_ct_checked"
105
+ android : layout_width =" match_parent"
106
+ android : layout_height =" wrap_content"
107
+ android : onClick =" sendAppmattusCTWebView"
108
+ android : text =" Appmattus+WebView CT" />
109
+
110
+ <View
111
+ android : layout_width =" match_parent"
112
+ android : layout_height =" 1dp"
113
+ android : layout_marginTop =" 10dp"
114
+ android : layout_marginBottom =" 10dp"
115
+ android : background =" @android:color/darker_gray" />
116
+
117
+ <Button
118
+ android : id =" @+id/custom_raw_socket_pinned"
119
+ android : layout_width =" match_parent"
120
+ android : layout_height =" wrap_content"
121
+ android : onClick =" sendCustomRawSocketPinned"
122
+ android : text =" Raw custom-pinned request" />
102
123
103
- </LinearLayout >
124
+ </LinearLayout >
104
125
105
- </androidx .constraintlayout.widget.ConstraintLayout>
126
+ </androidx .constraintlayout.widget.ConstraintLayout>
127
+ </ScrollView >
0 commit comments