e>
|
|
118
|
android:textColor="@color/ui_62"
|
|
|
119
|
android:textSize="14sp" />
|
|
|
120
|
|
|
|
121
|
<TextView
|
|
|
122
|
android:id="@+id/tv_service_cost"
|
|
|
123
|
android:layout_width="wrap_content"
|
|
|
124
|
android:layout_height="wrap_content"
|
|
|
125
|
android:layout_alignParentRight="true"
|
|
|
126
|
android:layout_marginRight="15dp"
|
|
|
127
|
android:text="--"
|
|
|
128
|
android:textColor="@color/ui_62"
|
|
|
129
|
android:textSize="14sp" />
|
|
|
130
|
|
|
|
131
|
</RelativeLayout>
|
|
|
132
|
|
|
|
133
|
<RelativeLayout
|
|
|
134
|
android:id="@+id/layoutRed"
|
|
|
135
|
android:layout_width="match_parent"
|
|
|
136
|
android:layout_height="wrap_content"
|
|
|
137
|
android:layout_marginTop="13dp">
|
|
|
138
|
|
|
|
139
|
<TextView
|
|
|
140
|
android:id="@+id/redEnvelope"
|
|
|
141
|
android:layout_width="wrap_content"
|
|
|
142
|
android:layout_height="wrap_content"
|
|
|
143
|
android:layout_alignParentLeft="true"
|
|
|
144
|
android:layout_marginLeft="15dp"
|
|
|
145
|
android:text="红包/优惠券"
|
|
|
146
|
android:textSize="14sp" />
|
|
|
147
|
<ImageView
|
|
|
148
|
android:layout_marginTop="8dp"
|
|
|
149
|
android:layout_alignStart="@+id/redEnvelope"
|
|
|
150
|
android:src="@drawable/ic_default_orders"
|
|
|
151
|
android:layout_below="@+id/redEnvelope"
|
|
|
152
|
android:layout_width="wrap_content"
|
|
|
153
|
android:layout_height="wrap_content"/>
|
|
|
154
|
|
|
|
155
|
<TextView
|
|
|
156
|
android:layout_centerVertical="true"
|
|
|
157
|
android:id="@+id/tv_charging_hongbao"
|
|
|
158
|
android:layout_width="wrap_content"
|
|
|
159
|
android:layout_height="wrap_content"
|
|
|
160
|
android:layout_alignParentRight="true"
|
|
|
161
|
android:layout_marginRight="15dp"
|
|
|
162
|
android:text="--"
|
|
|
163
|
android:textColor="@color/juhuang"
|
|
|
164
|
android:textSize="14sp" />
|
|
|
165
|
|
|
|
166
|
</RelativeLayout>
|
|
|
167
|
|
|
|
168
|
<View
|
|
|
169
|
android:layout_width="match_parent"
|
|
|
170
|
android:layout_height="5dp"
|
|
|
171
|
android:layout_marginTop="20dp"
|
|
|
172
|
android:layout_marginBottom="20dp"
|
|
|
173
|
android:background="#F6F6F6" />
|
|
|
174
|
|
|
|
175
|
<RelativeLayout
|
|
|
176
|
android:layout_width="match_parent"
|
|
|
177
|
android:layout_height="wrap_content"
|
|
|
178
|
>
|
|
|
179
|
|
|
|
180
|
<TextView
|
|
|
181
|
android:layout_width="wrap_content"
|
|
|
182
|
android:layout_height="wrap_content"
|
|
|
183
|
android:layout_alignParentLeft="true"
|
|
|
184
|
android:layout_marginLeft="15dp"
|
|
|
185
|
android:text="充电桩编号"
|
|
|
186
|
android:textColor="@color/ui_68"
|
|
|
187
|
android:textSize="14sp" />
|
|
|
188
|
|
|
|
189
|
<TextView
|
|
|
190
|
android:id="@+id/tv_zhuang_no"
|
|
|
191
|
android:layout_width="wrap_content"
|
|
|
192
|
android:layout_height="wrap_content"
|
|
|
193
|
android:layout_alignParentRight="true"
|
|
|
194
|
android:layout_marginRight="15dp"
|
|
|
195
|
android:text="--"
|
|
|
196
|
android:textColor="@color/ui_68"
|
|
|
197
|
android:textSize="14sp" />
|
|
|
198
|
|
|
|
199
|
</RelativeLayout>
|
|
|
200
|
|
|
|
201
|
<RelativeLayout
|
|
|
202
|
android:layout_width="match_parent"
|
|
|
203
|
android:layout_height="wrap_content"
|
|
|
204
|
android:layout_marginTop="13dp">
|
|
|
205
|
|
|
|
206
|
<TextView
|
|
|
207
|
android:layout_width="wrap_content"
|
|
|
208
|
android:layout_height="wrap_content"
|
|
|
209
|
android:layout_alignParentLeft="true"
|
|
|
210
|
android:layout_marginLeft="15dp"
|
|
|
211
|
android:text="充电时长"
|
|
|
212
|
android:textColor="@color/ui_68"
|
|
|
213
|
android:textSize="14sp" />
|
|
|
214
|
|
|
|
215
|
<TextView
|
|
|
216
|
android:id="@+id/tv_charging_time"
|
|
|
217
|
android:layout_width="wrap_content"
|
|
|
218
|
android:layout_height="wrap_content"
|
|
|
219
|
android:layout_alignParentRight="true"
|
|
|
220
|
android:layout_marginRight="15dp"
|
|
|
221
|
android:text="--"
|
|
|
222
|
android:textColor="@color/ui_68"
|
|
|
223
|
android:textSize="14sp" />
|
|
|
224
|
|
|
|
225
|
</RelativeLayout>
|
|
|
226
|
|
|
|
227
|
<RelativeLayout
|
|
|
228
|
android:layout_width="match_parent"
|
|
|
229
|
android:layout_height="wrap_content"
|
|
|
230
|
android:layout_marginTop="13dp">
|
|
|
231
|
|
|
|
232
|
<TextView
|
|
|
233
|
android:layout_width="wrap_content"
|
|
|
234
|
android:layout_height="wrap_content"
|
|
|
235
|
android:layout_alignParentLeft="true"
|
|
|
236
|
android:layout_marginLeft="15dp"
|
|
|
237
|
android:text="充电度数"
|
|
|
238
|
android:textColor="@color/ui_68"
|
|
|
239
|
android:textSize="14sp" />
|
|
|
240
|
|
|
|
241
|
<TextView
|
|
|
242
|
android:id="@+id/tv_charging_liang"
|
|
|
243
|
android:layout_width="wrap_content"
|
|
|
244
|
android:layout_height="wrap_content"
|
|
|
245
|
android:layout_alignParentRight="true"
|
|
|
246
|
android:layout_marginRight="15dp"
|
|
|
247
|
android:text="--"
|
|
|
248
|
android:textColor="@color/ui_68"
|
|
|
249
|
android:textSize="14sp" />
|
|
|
250
|
|
|
|
251
|
</RelativeLayout>
|
|
|
252
|
|
|
|
253
|
<RelativeLayout
|
|
|
254
|
android:id="@+id/rl_end_info"
|
|
|
255
|
android:layout_width="match_parent"
|
|
|
256
|
android:layout_height="wrap_content"
|
|
|
257
|
android:layout_marginTop="13dp">
|
|
|
258
|
|
|
|
259
|
<TextView
|
|
|
260
|
android:layout_width="wrap_content"
|
|
|
261
|
android:layout_height="wrap_content"
|
|
|
262
|
android:layout_alignParentLeft="true"
|
|
|
263
|
android:layout_marginLeft="15dp"
|
|
|
264
|
android:text="结束原因"
|
|
|
265
|
android:textColor="@color/ui_68"
|
|
|
266
|
android:textSize="14sp" />
|
|
|
267
|
|
|
|
268
|
<TextView
|
|
|
269
|
android:id="@+id/tv_tishi"
|
|
|
270
|
android:layout_width="wrap_content"
|
|
|
271
|
android:layout_height="wrap_content"
|
|
|
272
|
android:layout_alignParentRight="true"
|
|
|
273
|
android:layout_marginRight="15dp"
|
|
|
274
|
android:text="--"
|
|
|
275
|
android:textColor="@color/ui_68"
|
|
|
276
|
android:textSize="14sp" />
|
|
|
277
|
|
|
|
278
|
</RelativeLayout>
|
|
|
279
|
</LinearLayout>
|
|
|
280
|
|
|
|
281
|
<TextView
|
|
|
282
|
android:layout_centerHorizontal="true"
|
|
|
283
|
android:layout_above="@+id/tv_gocomment"
|
|
|
284
|
android:layout_width="wrap_content"
|
|
|
285
|
android:layout_height="wrap_content"
|
|
|
286
|
android:text="注:结束充电半小时没有提交结算订单系统默认按最大折扣结算"
|
|
|
287
|
android:textColor="#ff707070"
|
|
|
288
|
android:textSize="12sp"
|
|
|
289
|
/>
|
|
|
290
|
|
|
|
291
|
<TextView
|
|
|
292
|
android:id="@+id/tv_gocomment"
|
|
|
293
|
android:layout_width="match_parent"
|
|
|
294
|
android:layout_height="39dp"
|
|
|
295
|
android:layout_alignParentBottom="true"
|
|
|
296
|
android:layout_marginLeft="15dp"
|
|
|
297
|
android:layout_marginTop="15dp"
|
|
|
298
|
android:layout_marginRight="15dp"
|
|
|
299
|
android:layout_marginBottom="7dp"
|
|
|
300
|
android:background="@drawable/textview_greenstyle"
|
|
|
301
|
android:gravity="center"
|
|
|
302
|
android:text="提交订单并结算"
|
|
|
303
|
android:textColor="@color/white"
|
|
|
304
|
android:textSize="16sp" />
|
|
|
305
|
|
|
|
306
|
|
|
|
307
|
</RelativeLayout>
|
|
|
@ -0,0 +1,45 @@
|
|
|
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:orientation="vertical"
|
|
|
5
|
android:background="@drawable/bg_dialog_preferential"
|
|
|
6
|
android:layout_height="444dp">
|
|
|
7
|
|
|
|
8
|
<TextView
|
|
|
9
|
android:layout_marginBottom="15dp"
|
|
|
10
|
android:layout_marginTop="20dp"
|
|
|
11
|
android:layout_gravity="center_horizontal"
|
|
|
12
|
android:layout_width="wrap_content"
|
|
|
13
|
android:layout_height="wrap_content"
|
|
|
14
|
android:text="优惠类型"
|
|
|
15
|
android:textColor="#ff0e0e0e"
|
|
|
16
|
android:textSize="18sp"
|
|
|
17
|
/>
|
|
|
18
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
19
|
android:id="@+id/recyclerView"
|
|
|
20
|
android:layout_width="match_parent"
|
|
|
21
|
android:layout_height="320dp"/>
|
|
|
22
|
<TextView
|
|
|
23
|
android:visibility="gone"
|
|
|
24
|
android:gravity="center"
|
|
|
25
|
android:text="暂无优惠券~"
|
|
|
26
|
android:textColor="#ff9b9b9b"
|
|
|
27
|
android:textSize="18sp"
|
|
|
28
|
android:id="@+id/noPreferential"
|
|
|
29
|
android:layout_width="match_parent"
|
|
|
30
|
android:layout_height="320dp"/>
|
|
|
31
|
<TextView
|
|
|
32
|
android:id="@+id/complete"
|
|
|
33
|
android:layout_width="match_parent"
|
|
|
34
|
android:layout_height="39dp"
|
|
|
35
|
android:layout_marginLeft="12dp"
|
|
|
36
|
android:layout_marginTop="15dp"
|
|
|
37
|
android:layout_marginRight="12dp"
|
|
|
38
|
android:layout_marginBottom="7dp"
|
|
|
39
|
android:background="@drawable/textview_greenstyle"
|
|
|
40
|
android:gravity="center"
|
|
|
41
|
android:text="完成"
|
|
|
42
|
android:textColor="@color/white"
|
|
|
43
|
android:textSize="16sp" />
|
|
|
44
|
|
|
|
45
|
</LinearLayout>
|
|
|
@ -0,0 +1,26 @@
|
|
|
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:padding="10dp"
|
|
|
5
|
android:layout_height="wrap_content">
|
|
|
6
|
|
|
|
7
|
<TextView
|
|
|
8
|
android:layout_gravity="center"
|
|
|
9
|
android:id="@+id/name"
|
|
|
10
|
android:layout_weight="1"
|
|
|
11
|
android:layout_width="0dp"
|
|
|
12
|
android:layout_height="wrap_content"
|
|
|
13
|
android:text="不使用"
|
|
|
14
|
android:textColor="@color/color_ff333333"
|
|
|
15
|
android:textSize="14sp" />
|
|
|
16
|
<CheckBox
|
|
|
17
|
android:layout_gravity="center"
|
|
|
18
|
android:padding="5dp"
|
|
|
19
|
style="@style/CustomCheckboxTheme"
|
|
|
20
|
android:src="@drawable/ic_no_check"
|
|
|
21
|
android:id="@+id/checkBox"
|
|
|
22
|
android:layout_width="wrap_content"
|
|
|
23
|
android:layout_height="wrap_content"
|
|
|
24
|
/>
|
|
|
25
|
|
|
|
26
|
</LinearLayout>
|
|
|
@ -198,6 +198,7 @@
|
|
198
|
198
|
<color name="sv_white">#FFFFFF</color>
|
|
199
|
199
|
<color name="color_3ec34c">#3EC34C</color>
|
|
200
|
200
|
<color name="color_f08f4b">#F08F4B</color>
|
|
|
201
|
<color name="color_ff333333">#ff333333</color>
|
|
201
|
202
|
|
|
202
|
203
|
|
|
203
|
204
|
|
|
|
@ -366,4 +366,15 @@
|
|
366
|
366
|
<attr name="drawableBottomWidth" format="dimension" />
|
|
367
|
367
|
<attr name="drawableBottomHeight" format="dimension" />
|
|
368
|
368
|
</declare-styleable>
|
|
|
369
|
|
|
|
370
|
<style name="TransparentVideoDialogFragmentTheme" parent="Theme.Design.Light.BottomSheetDialog">
|
|
|
371
|
<item name="bottomSheetStyle">@style/CustomBottomSheetDialogFragmentStyle</item>
|
|
|
372
|
|
|
|
373
|
</style>
|
|
|
374
|
<style name="CustomBottomSheetDialogFragmentStyle" parent="Widget.Design.BottomSheet.Modal">
|
|
|
375
|
<item name="android:background">@android:color/transparent</item>
|
|
|
376
|
</style>
|
|
|
377
|
<style name="CustomCheckboxTheme" parent="@android:style/Widget.CompoundButton.CheckBox">
|
|
|
378
|
<item name="android:button">@drawable/checkbox_style</item>
|
|
|
379
|
</style>
|
|
369
|
380
|
</resources>
|