|
@ -2,9 +2,9 @@
|
2
|
2
|
android:layout_width="match_parent"
|
3
|
3
|
android:layout_height="match_parent"
|
4
|
4
|
android:background="@color/activity_bgcolor"
|
5
|
|
android:orientation="vertical"
|
6
|
5
|
android:focusable="true"
|
7
|
|
android:focusableInTouchMode="true">
|
|
6
|
android:focusableInTouchMode="true"
|
|
7
|
android:orientation="vertical">
|
8
|
8
|
|
9
|
9
|
<RelativeLayout
|
10
|
10
|
android:id="@+id/rl_title"
|
|
@ -21,31 +21,31 @@
|
21
|
21
|
android:id="@+id/tv_xiangqing"
|
22
|
22
|
android:layout_width="wrap_content"
|
23
|
23
|
android:layout_height="match_parent"
|
24
|
|
android:gravity="center"
|
25
|
24
|
android:background="@drawable/bg_detail_lv"
|
|
25
|
android:gravity="center"
|
26
|
26
|
android:text="详情"
|
27
|
|
android:textSize="16sp"
|
28
|
|
android:textColor="@color/lvse"/>
|
|
27
|
android:textColor="@color/lvse"
|
|
28
|
android:textSize="16sp" />
|
29
|
29
|
|
30
|
30
|
<TextView
|
31
|
31
|
android:id="@+id/tv_zhuangtai"
|
32
|
32
|
android:layout_width="wrap_content"
|
33
|
33
|
android:layout_height="match_parent"
|
34
|
|
android:gravity="center"
|
35
|
34
|
android:layout_marginLeft="22dp"
|
|
35
|
android:gravity="center"
|
36
|
36
|
android:text="状态"
|
37
|
|
android:textSize="16sp"
|
38
|
|
android:textColor="@color/ui_62"/>
|
|
37
|
android:textColor="@color/ui_62"
|
|
38
|
android:textSize="16sp" />
|
39
|
39
|
|
40
|
40
|
<TextView
|
41
|
41
|
android:id="@+id/tv_pinglun"
|
42
|
42
|
android:layout_width="wrap_content"
|
43
|
43
|
android:layout_height="match_parent"
|
44
|
|
android:gravity="center"
|
45
|
44
|
android:layout_marginLeft="22dp"
|
|
45
|
android:gravity="center"
|
46
|
46
|
android:text="评论()"
|
47
|
|
android:textSize="16sp"
|
48
|
|
android:textColor="@color/ui_62"/>
|
|
47
|
android:textColor="@color/ui_62"
|
|
48
|
android:textSize="16sp" />
|
49
|
49
|
|
50
|
50
|
</LinearLayout>
|
51
|
51
|
|
|
@ -57,8 +57,8 @@
|
57
|
57
|
android:layout_alignParentRight="true"
|
58
|
58
|
android:layout_centerVertical="true"
|
59
|
59
|
android:clickable="true"
|
60
|
|
android:paddingRight="15dp"
|
61
|
60
|
android:paddingLeft="7.5dp"
|
|
61
|
android:paddingRight="15dp"
|
62
|
62
|
android:src="@drawable/icon_detail_collect" />
|
63
|
63
|
|
64
|
64
|
<ImageView
|
|
@ -66,9 +66,9 @@
|
66
|
66
|
android:layout_width="wrap_content"
|
67
|
67
|
android:layout_height="match_parent"
|
68
|
68
|
android:layout_centerVertical="true"
|
69
|
|
android:paddingRight="7.5dp"
|
70
|
|
android:paddingLeft="15dp"
|
71
|
69
|
android:layout_toLeftOf="@id/iv_collect"
|
|
70
|
android:paddingLeft="15dp"
|
|
71
|
android:paddingRight="7.5dp"
|
72
|
72
|
android:src="@drawable/icon_detail_share"
|
73
|
73
|
android:visibility="visible" />
|
74
|
74
|
|
|
@ -79,10 +79,10 @@
|
79
|
79
|
android:layout_alignParentLeft="true"
|
80
|
80
|
android:layout_centerVertical="true"
|
81
|
81
|
android:contentDescription="@null"
|
82
|
|
android:paddingBottom="4dp"
|
83
|
82
|
android:paddingLeft="16dp"
|
84
|
|
android:paddingRight="16dp"
|
85
|
83
|
android:paddingTop="4dp"
|
|
84
|
android:paddingRight="16dp"
|
|
85
|
android:paddingBottom="4dp"
|
86
|
86
|
android:src="@drawable/icon_lvback1119" />
|
87
|
87
|
</RelativeLayout>
|
88
|
88
|
|
|
@ -91,26 +91,26 @@
|
91
|
91
|
android:layout_height="0dp"
|
92
|
92
|
android:layout_weight="7">
|
93
|
93
|
|
94
|
|
<android.support.v4.view.ViewPager
|
95
|
|
android:id="@+id/viewPager"
|
96
|
|
android:layout_width="match_parent"
|
97
|
|
android:layout_height="wrap_content" />
|
|
94
|
<android.support.v4.view.ViewPager
|
|
95
|
android:id="@+id/viewPager"
|
|
96
|
android:layout_width="match_parent"
|
|
97
|
android:layout_height="wrap_content" />
|
98
|
98
|
|
99
|
99
|
<RelativeLayout
|
100
|
100
|
android:id="@+id/rl_point"
|
101
|
101
|
android:layout_width="80dp"
|
102
|
102
|
android:layout_height="80dp"
|
103
|
|
android:layout_marginBottom="50dp"
|
104
|
|
android:layout_centerHorizontal="true"
|
105
|
103
|
android:layout_alignParentBottom="true"
|
106
|
|
android:visibility="gone"
|
107
|
|
android:background="@drawable/icon_point_bg">
|
|
104
|
android:layout_centerHorizontal="true"
|
|
105
|
android:layout_marginBottom="50dp"
|
|
106
|
android:background="@drawable/icon_point_bg"
|
|
107
|
android:visibility="gone">
|
108
|
108
|
|
109
|
109
|
<LinearLayout
|
110
|
110
|
android:layout_width="wrap_content"
|
111
|
111
|
android:layout_height="wrap_content"
|
112
|
|
android:orientation="vertical"
|
113
|
|
android:layout_centerInParent="true">
|
|
112
|
android:layout_centerInParent="true"
|
|
113
|
android:orientation="vertical">
|
114
|
114
|
|
115
|
115
|
<LinearLayout
|
116
|
116
|
android:layout_width="wrap_content"
|
|
@ -121,17 +121,17 @@
|
121
|
121
|
android:layout_width="wrap_content"
|
122
|
122
|
android:layout_height="wrap_content"
|
123
|
123
|
android:text="+"
|
124
|
|
android:textSize="16sp"
|
125
|
|
android:textColor="@color/white"/>
|
|
124
|
android:textColor="@color/white"
|
|
125
|
android:textSize="16sp" />
|
126
|
126
|
|
127
|
127
|
<TextView
|
128
|
128
|
android:id="@+id/tv_point"
|
129
|
129
|
android:layout_width="wrap_content"
|
130
|
130
|
android:layout_height="wrap_content"
|
131
|
|
android:text="20"
|
132
|
|
android:textSize="19sp"
|
133
|
131
|
android:layout_marginLeft="2dp"
|
134
|
|
android:textColor="@color/white"/>
|
|
132
|
android:text="20"
|
|
133
|
android:textColor="@color/white"
|
|
134
|
android:textSize="19sp" />
|
135
|
135
|
|
136
|
136
|
|
137
|
137
|
</LinearLayout>
|
|
@ -140,27 +140,25 @@
|
140
|
140
|
android:layout_width="wrap_content"
|
141
|
141
|
android:layout_height="wrap_content"
|
142
|
142
|
android:layout_gravity="center_horizontal"
|
|
143
|
android:layout_marginTop="2dp"
|
143
|
144
|
android:text="充电币"
|
144
|
|
android:textSize="13sp"
|
145
|
145
|
android:textColor="@color/white"
|
146
|
|
android:layout_marginTop="2dp"/>
|
|
146
|
android:textSize="13sp" />
|
147
|
147
|
|
148
|
148
|
|
149
|
149
|
</LinearLayout>
|
150
|
150
|
|
151
|
151
|
|
152
|
|
|
153
|
152
|
</RelativeLayout>
|
154
|
153
|
|
155
|
154
|
|
156
|
155
|
</RelativeLayout>
|
157
|
156
|
|
158
|
157
|
|
159
|
|
|
160
|
158
|
<View
|
161
|
159
|
android:layout_width="match_parent"
|
162
|
160
|
android:layout_height="0.5dp"
|
163
|
|
android:background="@color/ui_line"/>
|
|
161
|
android:background="@color/ui_line" />
|
164
|
162
|
|
165
|
163
|
<LinearLayout
|
166
|
164
|
android:id="@+id/ll_go_and_alter"
|
|
@ -173,8 +171,8 @@
|
173
|
171
|
<RelativeLayout
|
174
|
172
|
android:id="@+id/rl_daohang"
|
175
|
173
|
android:layout_width="0dp"
|
176
|
|
android:layout_weight="1"
|
177
|
|
android:layout_height="match_parent">
|
|
174
|
android:layout_height="match_parent"
|
|
175
|
android:layout_weight="1">
|
178
|
176
|
|
179
|
177
|
<TextView
|
180
|
178
|
android:layout_width="wrap_content"
|
|
@ -182,7 +180,9 @@
|
182
|
180
|
android:layout_centerInParent="true"
|
183
|
181
|
android:drawableLeft="@drawable/icon_window_1"
|
184
|
182
|
android:drawablePadding="6dp"
|
185
|
|
android:text="导航" />
|
|
183
|
android:text="导航"
|
|
184
|
android:textColor="#222222"
|
|
185
|
android:textSize="16sp" />
|
186
|
186
|
|
187
|
187
|
</RelativeLayout>
|
188
|
188
|
|
|
@ -190,36 +190,38 @@
|
190
|
190
|
<View
|
191
|
191
|
android:layout_width="0.5dp"
|
192
|
192
|
android:layout_height="16dp"
|
193
|
|
android:background="#dddddd"
|
194
|
|
android:layout_gravity="center_vertical"/>
|
|
193
|
android:layout_gravity="center_vertical"
|
|
194
|
android:background="#dddddd" />
|
195
|
195
|
|
196
|
196
|
<RelativeLayout
|
197
|
197
|
android:id="@+id/rl_alter"
|
198
|
198
|
android:layout_width="0dp"
|
199
|
|
android:layout_weight="1"
|
200
|
|
android:layout_height="match_parent">
|
|
199
|
android:layout_height="match_parent"
|
|
200
|
android:layout_weight="1">
|
201
|
201
|
|
202
|
202
|
<TextView
|
203
|
203
|
android:layout_width="wrap_content"
|
204
|
204
|
android:layout_height="wrap_content"
|
205
|
|
android:text="纠错"
|
|
205
|
android:layout_centerInParent="true"
|
206
|
206
|
android:drawableLeft="@drawable/icon_detail_alter"
|
207
|
207
|
android:drawablePadding="6dp"
|
208
|
|
android:layout_centerInParent="true"/>
|
|
208
|
android:text="纠错"
|
|
209
|
android:textColor="#222222"
|
|
210
|
android:textSize="16sp" />
|
209
|
211
|
|
210
|
212
|
</RelativeLayout>
|
211
|
213
|
|
212
|
214
|
<View
|
213
|
215
|
android:layout_width="0.5dp"
|
214
|
216
|
android:layout_height="16dp"
|
215
|
|
android:background="#dddddd"
|
216
|
|
android:layout_gravity="center_vertical"/>
|
|
217
|
android:layout_gravity="center_vertical"
|
|
218
|
android:background="#dddddd" />
|
217
|
219
|
|
218
|
220
|
<RelativeLayout
|
219
|
221
|
android:id="@+id/rl_detail_comment"
|
220
|
222
|
android:layout_width="0dp"
|
221
|
|
android:layout_weight="1"
|
222
|
|
android:layout_height="match_parent">
|
|
223
|
android:layout_height="match_parent"
|
|
224
|
android:layout_weight="1">
|
223
|
225
|
|
224
|
226
|
<TextView
|
225
|
227
|
android:layout_width="wrap_content"
|
|
@ -227,10 +229,28 @@
|
227
|
229
|
android:layout_centerInParent="true"
|
228
|
230
|
android:drawableLeft="@drawable/icon_window_3"
|
229
|
231
|
android:drawablePadding="6dp"
|
230
|
|
android:text="发表评论" />
|
|
232
|
android:text="评论"
|
|
233
|
android:textColor="#222222"
|
|
234
|
android:textSize="16sp" />
|
231
|
235
|
|
232
|
236
|
</RelativeLayout>
|
233
|
237
|
|
|
238
|
<RelativeLayout
|
|
239
|
android:id="@+id/rl_detail_scan"
|
|
240
|
android:layout_width="0dp"
|
|
241
|
android:layout_height="match_parent"
|
|
242
|
android:layout_weight="1"
|
|
243
|
android:background="#00B536">
|
|
244
|
|
|
245
|
<TextView
|
|
246
|
android:layout_width="wrap_content"
|
|
247
|
android:layout_height="wrap_content"
|
|
248
|
android:layout_centerInParent="true"
|
|
249
|
android:text="扫码充电"
|
|
250
|
android:textColor="#ffffff"
|
|
251
|
android:textSize="16sp" />
|
|
252
|
|
|
253
|
</RelativeLayout>
|
234
|
254
|
|
235
|
255
|
|
236
|
256
|
</LinearLayout>
|
|
@ -239,12 +259,12 @@
|
239
|
259
|
android:id="@+id/tv_submit_comment"
|
240
|
260
|
android:layout_width="match_parent"
|
241
|
261
|
android:layout_height="45dp"
|
|
262
|
android:background="@color/lvse"
|
|
263
|
android:gravity="center"
|
242
|
264
|
android:text="发表评论"
|
243
|
265
|
android:textColor="@color/white"
|
244
|
|
android:background="@color/lvse"
|
245
|
266
|
android:textSize="15sp"
|
246
|
|
android:gravity="center"
|
247
|
|
android:visibility="gone"/>
|
|
267
|
android:visibility="gone" />
|
248
|
268
|
|
249
|
269
|
<LinearLayout
|
250
|
270
|
android:id="@+id/ll_comment"
|
|
@ -257,7 +277,7 @@
|
257
|
277
|
android:layout_width="match_parent"
|
258
|
278
|
android:layout_height="0.5dp"
|
259
|
279
|
android:background="@color/Line"
|
260
|
|
android:visibility="gone"/>
|
|
280
|
android:visibility="gone" />
|
261
|
281
|
|
262
|
282
|
<RelativeLayout
|
263
|
283
|
android:layout_width="match_parent"
|
|
@ -269,18 +289,18 @@
|
269
|
289
|
android:id="@+id/et_commet"
|
270
|
290
|
android:layout_width="match_parent"
|
271
|
291
|
android:layout_height="match_parent"
|
272
|
|
android:layout_alignParentLeft="true"
|
273
|
292
|
android:layout_alignParentStart="true"
|
|
293
|
android:layout_alignParentLeft="true"
|
274
|
294
|
android:layout_centerVertical="true"
|
275
|
|
android:layout_marginBottom="7dp"
|
276
|
295
|
android:layout_marginLeft="15dp"
|
277
|
|
android:layout_toLeftOf="@+id/tv_submit"
|
278
|
296
|
android:layout_marginTop="7dp"
|
|
297
|
android:layout_marginBottom="7dp"
|
|
298
|
android:layout_toLeftOf="@+id/tv_submit"
|
279
|
299
|
android:background="@drawable/textview_style"
|
280
|
300
|
android:hint="说点什么吧..."
|
281
|
|
android:paddingBottom="3dp"
|
282
|
301
|
android:paddingLeft="12dp"
|
283
|
302
|
android:paddingTop="3dp"
|
|
303
|
android:paddingBottom="3dp"
|
284
|
304
|
android:textColorHint="#c8c8c8"
|
285
|
305
|
android:textSize="15sp" />
|
286
|
306
|
|
|
@ -288,16 +308,16 @@
|
288
|
308
|
android:id="@+id/tv_submit"
|
289
|
309
|
android:layout_width="wrap_content"
|
290
|
310
|
android:layout_height="match_parent"
|
291
|
|
android:paddingLeft="12dp"
|
292
|
|
android:paddingRight="15dp"
|
293
|
311
|
android:layout_alignParentEnd="true"
|
294
|
312
|
android:layout_alignParentRight="true"
|
295
|
313
|
android:layout_centerVertical="true"
|
296
|
314
|
android:layout_gravity="center"
|
297
|
315
|
android:gravity="center"
|
|
316
|
android:paddingLeft="12dp"
|
|
317
|
android:paddingRight="15dp"
|
298
|
318
|
android:text="发表"
|
299
|
|
android:textSize="15sp"
|
300
|
|
android:textColor="@color/lvse"/>
|
|
319
|
android:textColor="@color/lvse"
|
|
320
|
android:textSize="15sp" />
|
301
|
321
|
|
302
|
322
|
</RelativeLayout>
|
303
|
323
|
|
|
@ -309,59 +329,60 @@
|
309
|
329
|
android:layout_height="45dp"
|
310
|
330
|
android:orientation="vertical"
|
311
|
331
|
android:visibility="gone">
|
|
332
|
|
312
|
333
|
<View
|
313
|
334
|
android:layout_width="match_parent"
|
314
|
335
|
android:layout_height="0.5dp"
|
315
|
|
android:background="@color/Line"/>
|
|
336
|
android:background="@color/Line" />
|
316
|
337
|
|
317
|
338
|
|
318
|
|
<TextView
|
319
|
|
android:layout_width="match_parent"
|
320
|
|
android:layout_height="match_parent"
|
321
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
322
|
|
android:text="充电签到"
|
323
|
|
android:gravity="center"
|
324
|
|
android:id="@+id/tv_qiandao"
|
325
|
|
android:textColor="@color/white"
|
326
|
|
android:background="@color/lvse"
|
327
|
|
android:layout_alignParentTop="true"
|
328
|
|
android:layout_centerHorizontal="true"
|
329
|
|
android:layout_alignParentBottom="true" />
|
330
|
|
|
331
|
|
|
332
|
|
<!--<TextView-->
|
333
|
|
<!--android:id="@+id/tv_chenggong"-->
|
334
|
|
<!--android:layout_width="wrap_content"-->
|
335
|
|
<!--android:layout_height="wrap_content"-->
|
336
|
|
<!--android:paddingLeft="8dp"-->
|
337
|
|
<!--android:paddingRight="8dp"-->
|
338
|
|
<!--android:paddingBottom="4dp"-->
|
339
|
|
<!--android:paddingTop="4dp"-->
|
340
|
|
<!--android:text="成功"-->
|
341
|
|
<!--android:textColor="@color/white"-->
|
342
|
|
<!--android:background="@drawable/textview_bglv"-->
|
343
|
|
<!--android:textSize="16sp"-->
|
344
|
|
<!--android:layout_marginRight="16dp"-->
|
345
|
|
<!--android:layout_alignTop="@+id/tv_shibai"-->
|
346
|
|
<!--android:layout_toLeftOf="@+id/tv_shibai"-->
|
347
|
|
<!--android:layout_toStartOf="@+id/tv_shibai" />-->
|
348
|
|
|
349
|
|
<!--<TextView-->
|
350
|
|
<!--android:id="@+id/tv_shibai"-->
|
351
|
|
<!--android:layout_width="wrap_content"-->
|
352
|
|
<!--android:layout_height="wrap_content"-->
|
353
|
|
<!--android:paddingLeft="8dp"-->
|
354
|
|
<!--android:paddingRight="8dp"-->
|
355
|
|
<!--android:paddingBottom="4dp"-->
|
356
|
|
<!--android:paddingTop="4dp"-->
|
357
|
|
<!--android:text="失败"-->
|
358
|
|
<!--android:textColor="@color/white"-->
|
359
|
|
<!--android:background="@drawable/textview_bgju"-->
|
360
|
|
<!--android:textSize="16sp"-->
|
361
|
|
<!--android:layout_marginRight="16dp"-->
|
362
|
|
<!--android:layout_centerVertical="true"-->
|
363
|
|
<!--android:layout_alignParentRight="true"-->
|
364
|
|
<!--android:layout_alignParentEnd="true" />-->
|
|
339
|
<TextView
|
|
340
|
android:id="@+id/tv_qiandao"
|
|
341
|
android:layout_width="match_parent"
|
|
342
|
android:layout_height="match_parent"
|
|
343
|
android:layout_alignParentTop="true"
|
|
344
|
android:layout_alignParentBottom="true"
|
|
345
|
android:layout_centerHorizontal="true"
|
|
346
|
android:background="@color/lvse"
|
|
347
|
android:gravity="center"
|
|
348
|
android:text="充电签到"
|
|
349
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
350
|
android:textColor="@color/white" />
|
|
351
|
|
|
352
|
|
|
353
|
<!--<TextView-->
|
|
354
|
<!--android:id="@+id/tv_chenggong"-->
|
|
355
|
<!--android:layout_width="wrap_content"-->
|
|
356
|
<!--android:layout_height="wrap_content"-->
|
|
357
|
<!--android:paddingLeft="8dp"-->
|
|
358
|
<!--android:paddingRight="8dp"-->
|
|
359
|
<!--android:paddingBottom="4dp"-->
|
|
360
|
<!--android:paddingTop="4dp"-->
|
|
361
|
<!--android:text="成功"-->
|
|
362
|
<!--android:textColor="@color/white"-->
|
|
363
|
<!--android:background="@drawable/textview_bglv"-->
|
|
364
|
<!--android:textSize="16sp"-->
|
|
365
|
<!--android:layout_marginRight="16dp"-->
|
|
366
|
<!--android:layout_alignTop="@+id/tv_shibai"-->
|
|
367
|
<!--android:layout_toLeftOf="@+id/tv_shibai"-->
|
|
368
|
<!--android:layout_toStartOf="@+id/tv_shibai" />-->
|
|
369
|
|
|
370
|
<!--<TextView-->
|
|
371
|
<!--android:id="@+id/tv_shibai"-->
|
|
372
|
<!--android:layout_width="wrap_content"-->
|
|
373
|
<!--android:layout_height="wrap_content"-->
|
|
374
|
<!--android:paddingLeft="8dp"-->
|
|
375
|
<!--android:paddingRight="8dp"-->
|
|
376
|
<!--android:paddingBottom="4dp"-->
|
|
377
|
<!--android:paddingTop="4dp"-->
|
|
378
|
<!--android:text="失败"-->
|
|
379
|
<!--android:textColor="@color/white"-->
|
|
380
|
<!--android:background="@drawable/textview_bgju"-->
|
|
381
|
<!--android:textSize="16sp"-->
|
|
382
|
<!--android:layout_marginRight="16dp"-->
|
|
383
|
<!--android:layout_centerVertical="true"-->
|
|
384
|
<!--android:layout_alignParentRight="true"-->
|
|
385
|
<!--android:layout_alignParentEnd="true" />-->
|
365
|
386
|
|
366
|
387
|
</LinearLayout>
|
367
|
388
|
|