1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <LinearLayout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ android : layout_width =" match_parent"
4
+ android : layout_height =" match_parent"
5
+ android : background =" #ff171c20"
6
+ android : orientation =" vertical" >
7
+
8
+ <RelativeLayout
9
+ android : layout_width =" match_parent"
10
+ android : layout_height =" 56dp"
11
+ android : background =" @drawable/topbar_bg" >
12
+
13
+ <ImageView
14
+ android : id =" @+id/actionbar_logo"
15
+ android : layout_width =" 30dp"
16
+ android : layout_height =" 30dp"
17
+ android : layout_alignParentLeft =" true"
18
+ android : layout_centerVertical =" true"
19
+ android : layout_marginLeft =" 5dp"
20
+ android : layout_marginRight =" 5dp"
21
+ android : src =" @drawable/ic_launch" />
22
+
23
+ <TextView
24
+ android : id =" @+id/actionbar_logo_text"
25
+ android : layout_width =" wrap_content"
26
+ android : layout_height =" wrap_content"
27
+ android : layout_centerVertical =" true"
28
+ android : layout_toRightOf =" @id/actionbar_logo"
29
+ android : text =" @string/app_name"
30
+ android : textColor =" #ffffffff"
31
+ android : textSize =" 22sp" />
32
+ </RelativeLayout >
33
+
34
+ <RelativeLayout
35
+ android : id =" @+id/header_view"
36
+ android : layout_width =" match_parent"
37
+ android : layout_height =" wrap_content"
38
+ android : visibility =" gone" >
39
+
40
+ <ProgressBar
41
+ android : id =" @+id/header_progress"
42
+ style =" @style/Widget.Sherlock.ProgressBar"
43
+ android : layout_width =" 24dp"
44
+ android : layout_height =" 24dp"
45
+ android : layout_centerVertical =" true"
46
+ android : layout_marginLeft =" 15dp"
47
+ android : visibility =" visible" />
48
+
49
+ <TextView
50
+ android : id =" @+id/header_text"
51
+ android : layout_width =" wrap_content"
52
+ android : layout_height =" wrap_content"
53
+ android : layout_centerInParent =" true"
54
+ android : padding =" 9.0dip"
55
+ android : paddingBottom =" 8.0dip"
56
+ android : paddingLeft =" 8.0dip"
57
+ android : text =" 正在执行代码注入"
58
+ android : textColor =" #ffffff"
59
+ android : textSize =" 15.0sp" />
60
+ </RelativeLayout >
61
+
62
+ <ScrollView
63
+ android : id =" @+id/inject_scroll"
64
+ android : layout_width =" match_parent"
65
+ android : layout_height =" wrap_content"
66
+ android : fadeScrollbars =" false"
67
+ android : scrollbars =" vertical" >
68
+
69
+ <LinearLayout
70
+ android : layout_width =" match_parent"
71
+ android : layout_height =" wrap_content"
72
+ android : focusable =" true"
73
+ android : focusableInTouchMode =" true"
74
+ android : orientation =" vertical" >
75
+
76
+ <TextView
77
+ android : layout_width =" match_parent"
78
+ android : layout_height =" wrap_content"
79
+ android : background =" @android:color/transparent"
80
+ android : paddingBottom =" 5dp"
81
+ android : paddingLeft =" 10dp"
82
+ android : paddingRight =" 10dp"
83
+ android : paddingTop =" 10dp"
84
+ android : text =" 请输入需要克隆的网页地址"
85
+ android : textColor =" #FFFFCC"
86
+ android : textSize =" 15sp" />
87
+
88
+ <EditText
89
+ android : id =" @+id/clone_url"
90
+ android : layout_width =" match_parent"
91
+ android : layout_height =" 40dp"
92
+ android : layout_margin =" 10dp"
93
+ android : background =" @drawable/edit_text_bg"
94
+ android : gravity =" center_vertical|left"
95
+ android : hint =" http://www.oinux.com"
96
+ android : padding =" 6dp"
97
+ android : singleLine =" true" />
98
+
99
+ <LinearLayout
100
+ android : layout_width =" match_parent"
101
+ android : layout_height =" wrap_content"
102
+ android : layout_marginLeft =" 10.0dip"
103
+ android : layout_marginRight =" 10.0dip"
104
+ android : orientation =" vertical" >
105
+
106
+ <LinearLayout
107
+ android : layout_width =" match_parent"
108
+ android : layout_height =" wrap_content"
109
+ android : orientation =" horizontal" >
110
+
111
+ <CheckBox
112
+ android : id =" @+id/css_check"
113
+ android : layout_width =" 0dp"
114
+ android : layout_height =" wrap_content"
115
+ android : layout_weight =" 1"
116
+ android : button =" @drawable/btn_check"
117
+ android : checked =" true"
118
+ android : paddingLeft =" 5dp"
119
+ android : text =" *.css"
120
+ android : textColor =" #ffffff"
121
+ android : textSize =" 15sp" />
122
+
123
+ <CheckBox
124
+ android : id =" @+id/js_check"
125
+ android : layout_width =" 0dp"
126
+ android : layout_height =" wrap_content"
127
+ android : layout_weight =" 1"
128
+ android : button =" @drawable/btn_check"
129
+ android : checked =" true"
130
+ android : paddingLeft =" 5dp"
131
+ android : text =" *.js"
132
+ android : textColor =" #ffffff"
133
+ android : textSize =" 15sp" />
134
+
135
+ <CheckBox
136
+ android : id =" @+id/png_check"
137
+ android : layout_width =" 0dp"
138
+ android : layout_height =" wrap_content"
139
+ android : layout_weight =" 1"
140
+ android : button =" @drawable/btn_check"
141
+ android : checked =" true"
142
+ android : paddingLeft =" 5dp"
143
+ android : text =" *.png"
144
+ android : textColor =" #ffffff"
145
+ android : textSize =" 15sp" />
146
+
147
+ <CheckBox
148
+ android : id =" @+id/gif_check"
149
+ android : layout_width =" 0dp"
150
+ android : layout_height =" wrap_content"
151
+ android : layout_weight =" 1"
152
+ android : button =" @drawable/btn_check"
153
+ android : checked =" true"
154
+ android : paddingLeft =" 5dp"
155
+ android : text =" *.gif"
156
+ android : textColor =" #ffffff"
157
+ android : textSize =" 15sp" />
158
+ </LinearLayout >
159
+
160
+ <LinearLayout
161
+ android : layout_width =" match_parent"
162
+ android : layout_height =" wrap_content"
163
+ android : layout_marginTop =" 10dp"
164
+ android : orientation =" horizontal" >
165
+
166
+ <CheckBox
167
+ android : id =" @+id/jpg_check"
168
+ android : layout_width =" wrap_content"
169
+ android : layout_height =" wrap_content"
170
+ android : button =" @drawable/btn_check"
171
+ android : checked =" true"
172
+ android : paddingLeft =" 5dp"
173
+ android : text =" *.jpg"
174
+ android : textColor =" #ffffff"
175
+ android : textSize =" 15sp" />
176
+ </LinearLayout >
177
+ </LinearLayout >
178
+
179
+ <Button
180
+ android : id =" @+id/clone_btn"
181
+ android : layout_width =" match_parent"
182
+ android : layout_height =" wrap_content"
183
+ android : layout_marginBottom =" 20dp"
184
+ android : layout_marginLeft =" 10.0dip"
185
+ android : layout_marginRight =" 10.0dip"
186
+ android : layout_marginTop =" 18.0dip"
187
+ android : background =" @drawable/button"
188
+ android : gravity =" center"
189
+ android : padding =" 14.0dip"
190
+ android : text =" 开始克隆"
191
+ android : textColor =" #ffffffff"
192
+ android : textSize =" 20sp"
193
+ android : textStyle =" bold" />
194
+
195
+ <TextView
196
+ android : id =" @+id/http_clone_log"
197
+ android : layout_width =" match_parent"
198
+ android : layout_height =" wrap_content"
199
+ android : background =" @android:color/transparent"
200
+ android : padding =" 10dp"
201
+ android : text =" "
202
+ android : textSize =" 15sp" />
203
+ </LinearLayout >
204
+ </ScrollView >
205
+
206
+ </LinearLayout >
0 commit comments