mch_item_packs.xml
3.0 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="#ffffff">
<RelativeLayout
android:id="@+id/layout_pack"
android:layout_width="match_parent"
android:layout_height="66dp">
<TextView
android:id="@+id/btn_mch_receive_pack"
android:layout_width="63dp"
android:layout_height="28dp"
android:layout_alignParentRight="true"
android:gravity="center"
android:textSize="13dp"
android:textColor="@color/mch_bai"
android:layout_centerVertical="true"
android:layout_marginRight="16dp"
android:text="领取"
android:background="@drawable/mch_btn_lan_yuan1" />
<TextView
android:id="@+id/txt_mch_pack_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:layout_marginTop="10dp"
android:layout_marginLeft="13dp"
android:layout_toLeftOf="@id/btn_mch_receive_pack"
android:maxLines="1"
android:text="《我欲封仙》新手礼包"
android:textColor="#333333"
android:textStyle="bold"
android:textSize="14sp" />
<TextView
android:id="@+id/txt_mch_pack_desc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:layout_marginLeft="13dp"
android:layout_toLeftOf="@id/btn_mch_receive_pack"
android:layout_below="@id/txt_mch_pack_name"
android:ellipsize="end"
android:maxLines="1"
android:text="礼包介绍"
android:textColor="#8D8D8D"
android:textSize="12sp" />
<View
android:id="@+id/mch_xian"
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:background="#F2F2F2"
android:layout_alignParentBottom="true"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
<View
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:background="#DCDCDC" />
<TextView
android:id="@+id/txt_mch_pack_effective"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:paddingBottom="5dp"
android:layout_alignParentRight="true"
android:text="兑换截止:2016-11-09 00:00"
android:layout_marginRight="10dp"
android:textSize="11sp" />
</RelativeLayout>
</LinearLayout>