ttw_charge.xml
12.7 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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#f6f6f6"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="50dp"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="充值中心"
android:textColor="#000000"
android:textSize="20dp"
/>
<ImageView
android:id="@+id/clear"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="15dp"
android:padding="2dp"
android:src="@drawable/wancms_clear"
/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:background="#d2d2d2"
/>
</RelativeLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true"
android:focusableInTouchMode="true"
android:orientation="vertical"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="10dp"
android:text="购买信息"
android:textColor="#666666"
android:textSize="14sp"
android:textStyle="bold"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="140dp"
android:layout_marginLeft="15dp"
android:layout_marginTop="10dp"
android:layout_marginRight="30dp"
android:background="@drawable/shape_small_label"
android:elevation="3dp"
android:orientation="vertical"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:text="购买道具"
android:textColor="#000000"
android:textSize="14dp"
/>
<TextView
android:id="@+id/PropName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="20dp"
android:text="购买道具"
android:textColor="#A9A9A9"
android:textSize="14dp"
/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="#ececec"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:text="道具原价"
android:textColor="#000000"
android:textSize="14dp"
/>
<TextView
android:id="@+id/price"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="20dp"
android:text="购买道具"
android:textColor="#A9A9A9"
android:textSize="14dp"
/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="#ececec"
/>
</RelativeLayout>
<RelativeLayout
android:id="@+id/charge_rl_deduction"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:text="代金券"
android:textColor="#000000"
android:textSize="14dp"
/>
<TextView
android:id="@+id/tv_deduction"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="20dp"
android:text="请选择优惠券"
android:textColor="#FF7F00"
android:textSize="14dp"
/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentBottom="true"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:background="#ececec"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:text="应付金额"
android:textColor="#000000"
android:textSize="14dp"
/>
<TextView
android:id="@+id/values"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@+id/discount"
android:text="购买道具"
android:textColor="#ff0000"
android:textSize="16dp"
/>
<TextView
android:id="@+id/discount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="20dp"
android:text="购买道具"
android:textColor="#A9A9A9"
android:textSize="14dp"
/>
</RelativeLayout>
</LinearLayout>
<RelativeLayout
android:layout_marginTop="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:text="支付方式"
android:textColor="#666666"
android:textSize="14sp"
android:textStyle="bold"
/>
<TextView
android:id="@+id/charge_text_fanli"
android:layout_centerVertical="true"
android:text="充值后记得申请福利 "
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_marginRight="30dp"
android:textColor="#FF7F00"
android:layout_marginLeft="10dp"
/>
<ImageView
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_marginRight="25dp"
android:src="@drawable/wancms_jiantou"
android:visibility="gone"
android:layout_alignParentRight="true"
/>
</RelativeLayout>
<LinearLayout
android:id="@+id/ll_charge_channel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="10dp"
android:layout_marginRight="30dp"
android:background="@drawable/shape_small_label"
android:elevation="3dp"
android:orientation="vertical">
<ListView
android:id="@+id/lv_pay"
android:layout_width="match_parent"
android:layout_height="500dp"
android:divider="#ececec"
android:dividerHeight="1.5px"
android:paddingLeft="5dip"
android:paddingRight="5dip"
android:scrollingCache="false"
></ListView>
</LinearLayout>
<Button
android:id="@+id/btn_pay"
android:layout_width="300dp"
android:layout_height="40dip"
android:layout_gravity="center_horizontal"
android:layout_marginTop="30dp"
android:layout_marginBottom="20dp"
android:background="@drawable/mancms_go_pay"
android:gravity="center"
android:text="确认支付"
android:textColor="@android:color/white"
android:textSize="16sp"
/>
<TextView
android:text="*平台币说明:1人民币=10平台币,不会过期,可前往盒子或官网进行充值;"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#646464"
android:layout_marginLeft="20dp"
/>
<TextView
android:text="亲爱的玩家:游戏充值后可前往盒子申请福利哦"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#646464"
android:layout_marginLeft="20dp"
/>
</LinearLayout>
</ScrollView>
</LinearLayout>