item_mch_packs.xml
4.3 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
<?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"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#ffffff"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="80dp">
<!--<com.mchsdk.paysdk.view.round.CircleImageView-->
<!--android:id="@+id/iv_mch_pack_image"-->
<!--android:layout_width="70dp"-->
<!--android:layout_height="70dp"-->
<!--android:layout_centerVertical="true"-->
<!--android:layout_gravity="left|center_vertical"-->
<!--android:layout_margin="10dp"-->
<!--android:scaleType="center"-->
<!--app:borderRadius="10dp"-->
<!--app:type="round"-->
<!--android:src="@drawable/pack_image_new" />-->
<ImageView
android:id="@+id/iv_mch_pack_image"
android:layout_width="53dp"
android:layout_height="53dp"
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
android:layout_marginRight="3dp"
android:scaleType="center"
android:src="@drawable/pack_image_new" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/iv_mch_pack_image">
<Button
android:id="@+id/btn_mch_receive_pack"
android:layout_width="60dp"
android:layout_height="30dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="16dp"
android:background="@drawable/mch_cricle_5dp_bg_blue"
android:text="领取"
android:textColor="#ffffff"
android:textSize="14sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/btn_mch_receive_pack"
android:orientation="vertical"
android:paddingLeft="10dp"
android:paddingRight="4dp">
<TextView
android:id="@+id/txt_mch_pack_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:text="《我欲封仙》新手礼包"
android:textColor="@color/color_020202"
android:textSize="18sp" />
<TextView
android:id="@+id/txt_mch_pack_desc"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:ellipsize="end"
android:maxLines="2"
android:text="礼包介绍"
android:textColor="#666666"
android:textSize="12sp" />
</LinearLayout>
</RelativeLayout>
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="right"
android:orientation="vertical">
<TextView
android:id="@+id/txt_mch_pack_effective"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_marginTop="8dp"
android:layout_marginRight="10dp"
android:paddingBottom="5dp"
android:text="兑换截止:2016-11-09 00:00"
android:textSize="11sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="76dp"
android:layout_marginTop="10dp"
android:layout_marginRight="16dp"
android:background="@color/color_F8F8F8" />
</LinearLayout>
</LinearLayout>