mch_act_dhptb.xml
5.6 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#fff"
>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="45dp">
<RelativeLayout
android:id="@+id/btn_mch_back"
android:layout_width="45dp"
android:layout_height="match_parent">
<ImageView
android:layout_width="12dp"
android:layout_height="20dp"
android:background="@drawable/mch_common_icon_back"
android:layout_centerInParent="true"
/>
</RelativeLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="兑换平台币"
android:textSize="19dp"
android:textColor="#222222"
android:layout_centerInParent="true"
/>
<TextView
android:id="@+id/btn_mch_dhjl"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="兑换记录"
android:textColor="@color/mch_yanse"
android:textSize="15dp"
android:gravity="center_vertical"
android:layout_alignParentRight="true"
android:layout_marginRight="15dp"
/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:background="#DEE3E4"
/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="45dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="账户积分"
android:textSize="14dp"
android:textColor="#444444"
android:layout_centerVertical="true"
android:layout_marginLeft="25dp"
/>
<TextView
android:id="@+id/tv_jf"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
android:textSize="15dp"
android:textColor="@color/mch_yanse"
android:layout_centerVertical="true"
android:layout_marginLeft="104dp"
/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#f2f2f2"
/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="45dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="兑换数量"
android:textSize="14dp"
android:textColor="#444444"
android:layout_centerVertical="true"
android:layout_marginLeft="25dp"
/>
<EditText
android:id="@+id/edit_num"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:textSize="15dp"
android:textColor="#222222"
android:maxLength="5"
android:hint="输入需要兑换的平台币数量"
android:textColorHint="#C1C1C4"
android:layout_centerVertical="true"
android:layout_marginLeft="104dp"
android:background="@null"
android:singleLine="true"
android:inputType="number"
/>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#f2f2f2"
/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="35dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="消耗积分数"
android:textSize="14dp"
android:textColor="#444444"
android:layout_centerVertical="true"
android:layout_marginLeft="24dp"
/>
<TextView
android:id="@+id/tv_xhjf"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
android:textSize="15dp"
android:textColor="@color/mch_yanse"
android:layout_centerVertical="true"
android:layout_marginLeft="104dp"
/>
</RelativeLayout>
<TextView
android:id="@+id/tv_dhbl"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="(兑换比例:100积分=1平台币)"
android:textSize="12dp"
android:singleLine="true"
android:layout_marginLeft="24dp"
android:textColor="#C1C1C4"
android:layout_marginBottom="8dp"
/>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#f2f2f2"
/>
<TextView
android:id="@+id/btn_mch_duihuan"
android:layout_width="match_parent"
android:layout_height="33dp"
android:text="立即兑换"
android:textColor="#ffffff"
android:gravity="center"
android:layout_marginTop="17dp"
android:background="@drawable/mch_btn_lan_bg"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
/>
</LinearLayout>