window_coupon_item.xml
4.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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="horizontal">
<RelativeLayout
android:layout_width="80dp"
android:background="@drawable/coupon_bg_1"
android:layout_height="70dp">
<LinearLayout
android:id="@+id/lin"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dp"
android:gravity="bottom"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="¥"
android:textColor="#ff0000"
android:textSize="11sp" />
<TextView
android:id="@+id/deduction_money"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:textColor="#ff0000"
android:textSize="22sp"
tools:text="250" />
</LinearLayout>
<TextView
android:id="@+id/deduction_server1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/lin"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:text="抵扣券"
android:textColor="#ff0000"
android:textSize="14sp" />
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="70dp"
android:background="@drawable/coupon_bg_2">
<TextView
android:id="@+id/tv_vip"
android:layout_width="70dp"
android:layout_height="14dp"
android:layout_alignParentRight="true"
android:background="@drawable/aiqu_duanwei"
android:gravity="center_vertical"
android:paddingLeft="5dp"
android:textColor="#FFCF9F"
android:textSize="9sp" />
<TextView
android:id="@+id/deduction_conditions"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginLeft="10dp"
android:textColor="#333333"
tools:text="充值满5000可用" />
<TextView
android:id="@+id/tv_djq"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_centerVertical="true"
android:textColor="#ff0000"
android:textSize="11sp"
tools:text="不支持代金券,福利币" />
<TextView
android:id="@+id/deduction_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_alignParentBottom="true"
android:layout_marginLeft="10dp"
android:textColor="#333333"
android:textSize="11sp"
tools:text="2021/12/02 23:30:30" />
<TextView
android:id="@+id/deduction_get"
android:layout_width="46dp"
android:layout_height="16dp"
android:layout_marginRight="10dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:background="@drawable/round_rad3_bg"
android:backgroundTint="@color/green2"
android:gravity="center"
android:text="领取"
android:textColor="@color/white"
android:textSize="10sp" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>