Commit b0a7a1fce1b9795486f8cae157fd0025c8d0acee

Authored by xiongwei
1 parent a1f628ad78
Exists in master

调整界面

PersonalCenter/app/src/main/res/layout/activity_ok_cardinfo.xml
1 <?xml version="1.0" encoding="utf-8"?> 1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:layout_width="match_parent" 3 android:layout_width="match_parent"
4 android:layout_height="match_parent" 4 android:layout_height="match_parent"
5 android:orientation="vertical"> 5 android:orientation="vertical">
6 6
7 <RelativeLayout 7 <RelativeLayout
8 android:id="@+id/title" 8 android:id="@+id/title"
9 android:layout_width="match_parent" 9 android:layout_width="match_parent"
10 android:layout_height="wrap_content" 10 android:layout_height="wrap_content"
11 android:background="@color/login_text_blue" 11 android:background="@color/login_text_blue"
12 android:minHeight="50dp"> 12 android:minHeight="50dp">
13 13
14 <ImageView 14 <ImageView
15 android:id="@+id/cancel" 15 android:id="@+id/cancel"
16 android:layout_width="wrap_content" 16 android:layout_width="wrap_content"
17 android:layout_height="wrap_content" 17 android:layout_height="wrap_content"
18 android:layout_centerVertical="true" 18 android:layout_centerVertical="true"
19 android:paddingLeft="20dp" 19 android:paddingLeft="20dp"
20 android:paddingRight="20dp" 20 android:paddingRight="20dp"
21 android:src="@mipmap/title_back" /> 21 android:src="@mipmap/title_back" />
22 22
23 <TextView 23 <TextView
24 android:id="@+id/menu_title" 24 android:id="@+id/menu_title"
25 android:layout_width="wrap_content" 25 android:layout_width="wrap_content"
26 android:layout_height="wrap_content" 26 android:layout_height="wrap_content"
27 android:layout_centerInParent="true" 27 android:layout_centerInParent="true"
28 android:text="@string/string_electroniccard_info_ok" 28 android:text="@string/string_electroniccard_info_ok"
29 android:textColor="@android:color/white" 29 android:textColor="@android:color/white"
30 android:textSize="22sp" /> 30 android:textSize="22sp" />
31 </RelativeLayout> 31 </RelativeLayout>
32 32
33 <LinearLayout 33 <LinearLayout
34 android:layout_width="match_parent" 34 android:layout_width="match_parent"
35 android:layout_height="wrap_content" 35 android:layout_height="wrap_content"
36 android:layout_margin="20dp" 36 android:layout_margin="20dp"
37 android:background="@mipmap/cardbackgrangd" 37 android:background="@mipmap/cardbackgrangd"
38 android:gravity="center" 38 android:gravity="center"
39 android:orientation="vertical"> 39 android:orientation="vertical">
40 40
41 <LinearLayout 41 <LinearLayout
42 android:layout_width="match_parent" 42 android:layout_width="match_parent"
43 android:layout_height="wrap_content" 43 android:layout_height="wrap_content"
44 android:layout_marginTop="70dp" 44 android:layout_marginTop="70dp"
45 android:gravity="center_vertical" 45 android:gravity="center_vertical"
46 android:orientation="horizontal"> 46 android:orientation="horizontal">
47 47
48 <LinearLayout 48 <LinearLayout
49 android:layout_width="wrap_content" 49 android:layout_width="0dp"
50 android:layout_weight="1"
50 android:layout_height="wrap_content" 51 android:layout_height="wrap_content"
51 android:layout_marginLeft="200dp" 52 android:layout_marginLeft="200dp"
52 android:gravity="center_vertical"> 53 android:gravity="center_vertical">
53 54
54 <ImageView 55 <ImageView
55 android:layout_width="wrap_content" 56 android:layout_width="wrap_content"
56 android:layout_height="wrap_content" 57 android:layout_height="wrap_content"
57 android:src="@mipmap/logo_info" /> 58 android:src="@mipmap/logo_info" />
58 59
59 <TextView 60 <TextView
60 android:layout_width="wrap_content" 61 android:layout_width="wrap_content"
61 android:layout_height="wrap_content" 62 android:layout_height="wrap_content"
62 android:layout_marginLeft="50dp" 63 android:layout_marginLeft="50dp"
63 android:background="@null" 64 android:background="@null"
64 android:text="电子保卡" 65 android:text="电子保卡"
65 android:textColor="@color/login_text_blue" 66 android:textColor="@color/login_text_blue"
66 android:textSize="22sp" /> 67 android:textSize="22sp" />
67 68
68 </LinearLayout> 69 </LinearLayout>
69 70
70 <LinearLayout 71 <LinearLayout
71 android:layout_width="wrap_content" 72 android:layout_width="0dp"
73 android:layout_weight="1"
72 android:layout_height="80dp" 74 android:layout_height="80dp"
73 android:layout_marginLeft="200dp" 75 android:layout_marginLeft="80dp"
74 android:gravity="center_vertical"> 76 android:gravity="center_vertical">
75 77
76 <TextView 78 <TextView
77 android:layout_width="wrap_content" 79 android:layout_width="wrap_content"
78 android:layout_height="wrap_content" 80 android:layout_height="wrap_content"
79 android:text="客户姓名" 81 android:text="客户姓名"
80 android:textColor="@color/btn_text_color" 82 android:textColor="@color/btn_text_color"
81 android:textSize="22sp" /> 83 android:textSize="22sp" />
82 84
83 <TextView 85 <TextView
84 android:layout_width="wrap_content" 86 android:layout_width="wrap_content"
85 android:layout_height="wrap_content" 87 android:layout_height="wrap_content"
86 android:layout_marginLeft="60dp" 88 android:layout_marginLeft="80dp"
87 android:text="王小明" 89 android:text="王小明"
88 android:textColor="@color/btn_text_color" 90 android:textColor="@color/btn_text_color"
89 android:textSize="22sp" /> 91 android:textSize="22sp" />
90 92
91 </LinearLayout> 93 </LinearLayout>
92 94
93 </LinearLayout> 95 </LinearLayout>
94 96
95 <LinearLayout 97 <LinearLayout
96 android:layout_width="match_parent" 98 android:layout_width="match_parent"
97 android:layout_height="wrap_content" 99 android:layout_height="wrap_content"
98 android:gravity="center_vertical" 100 android:gravity="center_vertical"
99 android:orientation="horizontal"> 101 android:orientation="horizontal">
100 102
101 <LinearLayout 103 <LinearLayout
102 android:layout_width="wrap_content" 104 android:layout_width="0dp"
105 android:layout_weight="1"
103 android:layout_height="60dp" 106 android:layout_height="60dp"
104 android:layout_marginLeft="200dp" 107 android:layout_marginLeft="200dp"
105 android:gravity="center_vertical"> 108 android:gravity="center_vertical">
106 109
107 <TextView 110 <TextView
108 android:layout_width="wrap_content" 111 android:layout_width="wrap_content"
109 android:layout_height="wrap_content" 112 android:layout_height="wrap_content"
110 android:text="产品型号" 113 android:text="产品型号"
111 android:textColor="@color/btn_text_color" 114 android:textColor="@color/btn_text_color"
112 android:textSize="22sp" /> 115 android:textSize="22sp" />
113 116
114 <TextView 117 <TextView
115 android:layout_width="wrap_content" 118 android:layout_width="wrap_content"
116 android:layout_height="wrap_content" 119 android:layout_height="wrap_content"
117 android:layout_marginLeft="50dp" 120 android:layout_marginLeft="50dp"
118 android:text="IPone888" 121 android:text="IPone888"
119 android:textSize="22sp" /> 122 android:textSize="22sp" />
120 123
121 124
122 </LinearLayout> 125 </LinearLayout>
123 126
124 <LinearLayout 127 <LinearLayout
125 android:layout_width="wrap_content" 128 android:layout_width="0dp"
129 android:layout_weight="1"
126 android:layout_height="60dp" 130 android:layout_height="60dp"
127 android:layout_marginLeft="250dp" 131 android:layout_marginLeft="80dp"
128 android:gravity="center_vertical"> 132 android:gravity="center_vertical">
129 133
130 <TextView 134 <TextView
131 android:layout_width="wrap_content" 135 android:layout_width="wrap_content"
132 android:layout_height="wrap_content" 136 android:layout_height="wrap_content"
133 android:text="客户地址" 137 android:text="客户地址"
134 android:textSize="22sp" /> 138 android:textSize="22sp" />
135 139
136 <TextView 140 <TextView
137 android:layout_width="wrap_content" 141 android:layout_width="wrap_content"
138 android:layout_height="wrap_content" 142 android:layout_height="wrap_content"
139 android:layout_marginLeft="98dp" 143 android:layout_marginLeft="80dp"
140 android:background="@null" 144 android:background="@null"
141 android:text="北京市昭阳区三里屯" 145 android:text="北京市昭阳区三里屯"
142 android:textSize="22sp" /> 146 android:textSize="22sp" />
143 147
144 </LinearLayout> 148 </LinearLayout>
145 149
146 </LinearLayout> 150 </LinearLayout>
147 151
148 <LinearLayout 152 <LinearLayout
149 android:layout_width="match_parent" 153 android:layout_width="match_parent"
150 android:layout_height="wrap_content" 154 android:layout_height="wrap_content"
151 android:gravity="center_vertical" 155 android:gravity="center_vertical"
152 android:orientation="horizontal"> 156 android:orientation="horizontal">
153 157
154 <LinearLayout 158 <LinearLayout
155 android:layout_width="wrap_content" 159 android:layout_width="0dp"
160 android:layout_weight="1"
156 android:layout_height="60dp" 161 android:layout_height="60dp"
157 android:layout_marginLeft="200dp" 162 android:layout_marginLeft="200dp"
158 android:gravity="center_vertical"> 163 android:gravity="center_vertical">
159 164
160 <TextView 165 <TextView
161 android:layout_width="wrap_content" 166 android:layout_width="wrap_content"
162 android:layout_height="wrap_content" 167 android:layout_height="wrap_content"
163 android:text="MAC地址" 168 android:text="MAC地址"
164 android:textSize="22sp" /> 169 android:textSize="22sp" />
165 170
166 <TextView 171 <TextView
167 android:layout_width="wrap_content" 172 android:layout_width="wrap_content"
168 android:layout_height="wrap_content" 173 android:layout_height="wrap_content"
169 android:layout_marginLeft="50dp" 174 android:layout_marginLeft="50dp"
170 android:background="@null" 175 android:background="@null"
171 android:text="237462873463278" 176 android:text="237462873463278"
172 android:textSize="22sp" /> 177 android:textSize="22sp" />
173 178
174 </LinearLayout> 179 </LinearLayout>
175 180
176 <LinearLayout 181 <LinearLayout
177 android:layout_width="wrap_content" 182 android:layout_width="0dp"
183 android:layout_weight="1"
178 android:layout_height="60dp" 184 android:layout_height="60dp"
179 android:layout_marginLeft="210dp" 185 android:layout_marginLeft="80dp"
180 android:gravity="center_vertical"> 186 android:gravity="center_vertical">
181 187
182 <TextView 188 <TextView
183 android:layout_width="wrap_content" 189 android:layout_width="wrap_content"
184 android:layout_height="wrap_content" 190 android:layout_height="wrap_content"
185 android:text="购买时间" 191 android:text="购买时间"
186 android:textColor="@color/btn_text_color" 192 android:textColor="@color/btn_text_color"
187 android:textSize="22sp" /> 193 android:textSize="22sp" />
188 194
189 <TextView 195 <TextView
190 android:layout_width="wrap_content" 196 android:layout_width="wrap_content"
191 android:layout_height="wrap_content" 197 android:layout_height="wrap_content"
192 android:layout_marginLeft="25dp" 198 android:layout_marginLeft="80dp"
193 android:background="@null" 199 android:background="@null"
194 android:text="4433322-334--34" 200 android:text="4433322-334--34"
195 android:textColor="@color/btn_text_color" 201 android:textColor="@color/btn_text_color"
196 android:textSize="22sp" /> 202 android:textSize="22sp" />
197 </LinearLayout> 203 </LinearLayout>
198 204
199 </LinearLayout> 205 </LinearLayout>
200 206
201 <LinearLayout 207 <LinearLayout
202 android:layout_width="match_parent" 208 android:layout_width="match_parent"
203 android:layout_height="wrap_content" 209 android:layout_height="wrap_content"
204 android:gravity="center_vertical" 210 android:gravity="center_vertical"
205 android:orientation="horizontal"> 211 android:orientation="horizontal">
206 212
207 <LinearLayout 213 <LinearLayout
208 android:layout_width="wrap_content" 214 android:layout_width="0dp"
215 android:layout_weight="1"
209 android:layout_height="60dp" 216 android:layout_height="60dp"
210 android:layout_marginLeft="200dp" 217 android:layout_marginLeft="200dp"
211 android:gravity="center_vertical"> 218 android:gravity="center_vertical">
212 219
213 <TextView 220 <TextView
214 android:layout_width="wrap_content" 221 android:layout_width="wrap_content"
215 android:layout_height="wrap_content" 222 android:layout_height="wrap_content"
216 android:text="机身编码" 223 android:text="机身编码"
217 android:textColor="@color/btn_text_color" 224 android:textColor="@color/btn_text_color"
218 android:textSize="22sp" /> 225 android:textSize="22sp" />
219 226
220 <TextView 227 <TextView
221 android:layout_width="wrap_content" 228 android:layout_width="wrap_content"
222 android:layout_height="wrap_content" 229 android:layout_height="wrap_content"
223 android:layout_marginLeft="50dp" 230 android:layout_marginLeft="50dp"
224 android:hint="473463746343" 231 android:hint="473463746343"
225 android:textSize="22sp" /> 232 android:textSize="22sp" />
226 233
227 </LinearLayout> 234 </LinearLayout>
228 235
229 <LinearLayout 236 <LinearLayout
230 android:layout_width="wrap_content" 237 android:layout_width="0dp"
238 android:layout_weight="1"
231 android:layout_height="60dp" 239 android:layout_height="60dp"
232 android:layout_marginLeft="210dp" 240 android:layout_marginLeft="80dp"
233 android:gravity="center_vertical"> 241 android:gravity="center_vertical">
234 242
235 <TextView 243 <TextView
236 android:layout_width="wrap_content" 244 android:layout_width="wrap_content"
237 android:layout_height="wrap_content" 245 android:layout_height="wrap_content"
238 android:text="购买地址" 246 android:text="购买地址"
239 android:textColor="@color/btn_text_color" 247 android:textColor="@color/btn_text_color"
240 android:textSize="22sp" /> 248 android:textSize="22sp" />
241 249
242 <TextView 250 <TextView
243 android:layout_width="wrap_content" 251 android:layout_width="wrap_content"
244 android:layout_height="wrap_content" 252 android:layout_height="wrap_content"
245 android:layout_marginLeft="25dp" 253 android:layout_marginLeft="80dp"
246 android:text="啥啥啥 专卖店" 254 android:text="啥啥啥 专卖店"
247 android:textColor="@color/btn_text_color" 255 android:textColor="@color/btn_text_color"
248 android:textSize="22sp" /> 256 android:textSize="22sp" />
249 </LinearLayout> 257 </LinearLayout>
250 258
251 </LinearLayout> 259 </LinearLayout>
252 260
253 <LinearLayout 261 <LinearLayout
254 android:layout_width="match_parent" 262 android:layout_width="match_parent"
255 android:layout_height="wrap_content" 263 android:layout_height="wrap_content"
256 android:gravity="center_vertical" 264 android:gravity="center_vertical"
257 android:orientation="horizontal"> 265 android:orientation="horizontal">
258 266
259 <LinearLayout 267 <LinearLayout
260 android:layout_width="wrap_content" 268 android:layout_width="0dp"
269 android:layout_weight="1"
261 android:layout_height="60dp" 270 android:layout_height="60dp"
262 android:layout_marginLeft="200dp" 271 android:layout_marginLeft="200dp"
263 android:gravity="center_vertical"> 272 android:gravity="center_vertical">
264 273
265 <TextView 274 <TextView
266 android:layout_width="wrap_content" 275 android:layout_width="wrap_content"
267 android:layout_height="wrap_content" 276 android:layout_height="wrap_content"
268 android:text="手机号码" 277 android:text="手机号码"
269 android:textColor="@color/btn_text_color" 278 android:textColor="@color/btn_text_color"
270 android:textSize="22sp" /> 279 android:textSize="22sp" />
271 280
272 <TextView 281 <TextView
273 android:layout_width="wrap_content" 282 android:layout_width="wrap_content"
274 android:layout_height="wrap_content" 283 android:layout_height="wrap_content"
275 android:layout_marginLeft="50dp" 284 android:layout_marginLeft="50dp"
276 android:text="IPone888" 285 android:text="IPone888"
277 android:textSize="22sp" /> 286 android:textSize="22sp" />
278 287
279 288
280 </LinearLayout> 289 </LinearLayout>
281 290
282 <LinearLayout 291 <LinearLayout
283 android:layout_width="wrap_content" 292 android:layout_width="0dp"
293 android:layout_weight="1"
284 android:layout_height="60dp" 294 android:layout_height="60dp"
285 android:layout_marginLeft="250dp" 295 android:layout_marginLeft="80dp"
286 android:gravity="center_vertical"> 296 android:gravity="center_vertical">
287 297
288 <TextView 298 <TextView
289 android:layout_width="wrap_content" 299 android:layout_width="wrap_content"
290 android:layout_height="wrap_content" 300 android:layout_height="wrap_content"
291 android:text="本地售后电话" 301 android:text="本地售后电话"
292 android:textSize="22sp" /> 302 android:textSize="22sp" />
293 303
294 <TextView 304 <TextView
295 android:layout_width="wrap_content" 305 android:layout_width="wrap_content"
296 android:layout_height="wrap_content" 306 android:layout_height="wrap_content"
297 android:layout_marginLeft="98dp" 307 android:layout_marginLeft="40dp"
298 android:background="@null" 308 android:background="@null"
299 android:text="1111111" 309 android:text="1111111"
300 android:textSize="22sp" /> 310 android:textSize="22sp" />
301 311
302 </LinearLayout> 312 </LinearLayout>
303 313
304 </LinearLayout> 314 </LinearLayout>
305 </LinearLayout> 315 </LinearLayout>
306 316
307 <LinearLayout 317 <LinearLayout
308 android:layout_width="match_parent" 318 android:layout_width="match_parent"
309 android:layout_height="wrap_content" 319 android:layout_height="wrap_content"
310 android:layout_marginTop="5dp" 320 android:layout_marginTop="5dp"
311 android:gravity="center" 321 android:gravity="center"
312 android:orientation="vertical"> 322 android:orientation="vertical">
313 323
314 <TextView 324 <TextView
315 android:layout_width="wrap_content" 325 android:layout_width="wrap_content"
316 android:layout_height="wrap_content" 326 android:layout_height="wrap_content"
317 android:layout_marginTop="5dp" 327 android:layout_marginTop="5dp"
318 android:text="@string/electronic_card3" 328 android:text="@string/electronic_card3"
319 android:textColor="@color/electronic_text" 329 android:textColor="@color/electronic_text"
320 android:textSize="18sp" /> 330 android:textSize="18sp" />
321 331
322 <TextView 332 <TextView
323 android:layout_width="wrap_content" 333 android:layout_width="wrap_content"
324 android:layout_height="wrap_content" 334 android:layout_height="wrap_content"
325 android:layout_marginTop="5dp" 335 android:layout_marginTop="5dp"
326 android:text="@string/electronic_card4" 336 android:text="@string/electronic_card4"
327 android:textColor="@color/electronic_text" 337 android:textColor="@color/electronic_text"
328 android:textSize="18sp" /> 338 android:textSize="18sp" />
329 339
330 340
331 </LinearLayout> 341 </LinearLayout>
332 342
333 <LinearLayout 343 <LinearLayout
334 android:layout_width="match_parent" 344 android:layout_width="match_parent"
335 android:layout_height="wrap_content" 345 android:layout_height="wrap_content"
336 android:layout_marginTop="30dp" 346 android:layout_marginTop="30dp"
337 android:gravity="center" 347 android:gravity="center"
338 android:orientation="horizontal"> 348 android:orientation="horizontal">
339 349
340 <Button 350 <Button
341 android:id="@+id/btn_bangding" 351 android:id="@+id/btn_bangding"
342 android:layout_width="300dp" 352 android:layout_width="300dp"
343 android:layout_height="wrap_content" 353 android:layout_height="wrap_content"
344 android:background="@drawable/selector_blue_btn_bg" 354 android:background="@drawable/selector_blue_btn_bg"
345 android:text="@string/bangding" 355 android:text="@string/bangding"
346 android:textColor="@color/white" 356 android:textColor="@color/white"
347 android:textSize="23sp" /> 357 android:textSize="23sp" />
348 358
349 <Button 359 <Button
350 android:id="@+id/btn_finish" 360 android:id="@+id/btn_finish"
351 android:layout_width="300dp" 361 android:layout_width="300dp"
352 android:layout_height="wrap_content" 362 android:layout_height="wrap_content"
353 android:layout_marginLeft="50dp" 363 android:layout_marginLeft="50dp"
354 android:background="@drawable/selector_blue_btn_bg" 364 android:background="@drawable/selector_blue_btn_bg"
355 android:text="@string/finish" 365 android:text="@string/finish"
356 android:textColor="@color/white" 366 android:textColor="@color/white"
357 android:textSize="23sp" /> 367 android:textSize="23sp" />
358 368
359 369
360 </LinearLayout> 370 </LinearLayout>
361 371
362 372
363 </LinearLayout> 373 </LinearLayout>