forked from APIJSON/APIJSON-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauto_activity.xml
More file actions
141 lines (119 loc) · 4.47 KB
/
auto_activity.xml
File metadata and controls
141 lines (119 loc) · 4.47 KB
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
139
140
141
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/activity_page"
android:padding="0dp"
>
<ScrollView
style="@style/match_match"
android:layout_weight="1" >
<LinearLayout
style="@style/match_match"
android:orientation="horizontal" >
<EditText
android:id="@+id/tvAutoRequest"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="2dp"
android:background="@null"
android:gravity="top|left"
android:hint="request"
android:textSize="14sp"
/>
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="@android:color/white" />
<TextView
android:id="@+id/tvAutoResponse"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:padding="2dp"
android:layout_weight="2"
android:background="@null"
android:gravity="top|left"
android:hint="response"
android:onClick="copy"
android:textSize="14sp" />
</LinearLayout>
</ScrollView>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/white" />
<Button
android:id="@+id/tvAutoCodePortrait"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:onClick="auto"
android:text="@string/auto"
android:visibility="visible"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="45dp"
>
<HorizontalScrollView
style="@style/match_match"
android:layout_weight="1"
>
<LinearLayout
style="@style/match_match"
android:orientation="horizontal"
>
<Button
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:onClick="get"
android:text="GET" />
<Button
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:onClick="head"
android:text="HEAD" />
<Button
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:onClick="gets"
android:text="GETS" />
<Button
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:onClick="heads"
android:text="HEADS" />
<Button
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:onClick="get"
android:text="POST" />
<Button
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:onClick="put"
android:text="PUT" />
<Button
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:onClick="delete"
android:text="DELETE" />
<Button
android:id="@+id/tvAutoOrient"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:onClick="orient"
android:text="Screen: Landscape" />
</LinearLayout>
</HorizontalScrollView>
<Button
android:id="@+id/tvAutoCodeLandscape"
style="@style/wrap_match"
android:paddingLeft="6dp"
android:paddingRight="6dp"
android:minWidth="240dp"
android:onClick="auto"
android:text="@string/auto"
android:visibility="visible"
/>
</LinearLayout>
</LinearLayout>