layout_subscribeshow_basicinfo.xml
6.88 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="5dp">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="12dp"
android:layout_marginTop="18dp"
android:paddingLeft="10dp"
android:paddingRight="10dp">
<TextView
android:id="@+id/subscribeshowinfo_tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:textSize="16sp"
android:textColor="#333"
tools:text="百老汇纪念歌剧《JERSEY BOYS》" />
<TextView
android:id="@+id/subscribeshowinfo_tv_tag"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:background="@drawable/rectangle_f8b551_fill"
android:gravity="center"
android:paddingBottom="1.8dp"
android:paddingLeft="4dp"
android:paddingRight="4dp"
android:paddingTop="1.8dp"
android:textColor="#fff"
android:textSize="9sp"
tools:text="话剧" />
</RelativeLayout>
<TextView
android:id="@+id/subscribeshowinfo_tv_des"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:lineSpacingExtra="2dp"
android:lineSpacingMultiplier="1.2"
android:maxLines="3"
android:textSize="12sp"
android:textColor="#b8b7b7"
android:paddingLeft="10dp"
android:paddingRight="10dp"
tools:text="百老汇大道(Broadway)为纽约市重要的南北向道路,南起巴特里公园(Battery Park),由南向北纵贯曼哈顿岛。由于此路两旁分布着为数众多的剧院,是美国戏剧和音乐剧的重要发扬地,“百老汇”因此成为了音乐剧的代名词。" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="15dp"
android:paddingLeft="10dp"
android:paddingRight="8dp">
<ImageView
android:id="@+id/subscribeshowinfo_img_more"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_marginTop="22dp"
android:paddingRight="20dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:src="@mipmap/icon_expanded" />
<ImageView
android:id="@+id/subscribeshowinfo_img_share"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_marginTop="19dp"
android:paddingLeft="20dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:src="@mipmap/order_share_icon" />
<ImageView
android:id="@+id/subscribeshowinfo_img_collect"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="17dp"
android:layout_marginTop="19dp"
android:layout_toLeftOf="@id/subscribeshowinfo_img_share"
android:src="@mipmap/icon_uncollect"
android:visibility="gone" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/subscribeshowinfo_layout_timer_root"
android:layout_width="match_parent"
android:layout_height="72dp"
>
<View
android:id="@+id/subscribeshowinfo_timer_topcut"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentTop="true"
android:background="@color/color_cutline_ececec" />
<cn.iwgang.countdownview.CountdownView
android:id="@+id/subscribeshowinfo_timer"
android:layout_width="110dp"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:layout_marginBottom="20dp"
android:layout_marginTop="20dp"
app:isHideTimeBackground="false"
android:layout_marginLeft="10dp"
app:isShowHour="true"
app:isShowMinute="true"
app:isShowSecond="true"
app:isSuffixTextBold="true"
app:isTimeTextBold="true"
app:suffix=":"
app:suffixGravity="center"
app:suffixTextColor="@color/tab_bg"
app:suffixTextSize="15sp"
app:timeBgRadius="4dp"
app:timeBgSize="10dp"
app:timeTextColor="#FFFFFF"
app:timeTextSize="13sp" />
<TextView
android:id="@+id/subscribeshowinfo_tv_price"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="12dp"
android:textColor="#ff6633"
android:textSize="17sp"
tools:text="22" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/subscribeshowinfo_tv_price"
android:src="@mipmap/gift_coin" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignRight="@id/subscribeshowinfo_tv_price"
android:src="@mipmap/icon_coupon" />
<TextView
android:id="@+id/subscribeshowinfo_tv_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toLeftOf="@id/subscribeshowinfo_tv_price"
android:layout_toRightOf="@id/subscribeshowinfo_timer"
android:gravity="center_horizontal"
android:textColor="#bdbdbd"
android:textSize="11sp"
tools:text="17/02/23 09:00 同步直播" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/color_cutline_ececec" />
</LinearLayout>