>
|
|
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>
|