|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
2
|
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
3
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
4
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
5
|
+ android:layout_width="match_parent"
|
|
|
6
|
+ android:layout_height="match_parent"
|
|
|
7
|
+ tools:context=".presentation.mine.MyCommissionActivity">
|
|
|
8
|
+
|
|
|
9
|
+ <View
|
|
|
10
|
+ android:id="@+id/view_bg1"
|
|
|
11
|
+ android:layout_width="match_parent"
|
|
|
12
|
+ android:layout_height="240dp"
|
|
|
13
|
+ android:background="@mipmap/bg_my_commission"
|
|
|
14
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
15
|
+
|
|
|
16
|
+ <View
|
|
|
17
|
+ android:id="@+id/view_bg2"
|
|
|
18
|
+ android:layout_width="match_parent"
|
|
|
19
|
+ android:layout_height="250dp"
|
|
|
20
|
+ android:layout_marginLeft="10dp"
|
|
|
21
|
+ android:layout_marginTop="20dp"
|
|
|
22
|
+ android:layout_marginRight="10dp"
|
|
|
23
|
+ android:background="@mipmap/bg_shape_my_commission"
|
|
|
24
|
+ app:layout_constraintTop_toTopOf="@id/view_bg1" />
|
|
|
25
|
+
|
|
|
26
|
+ <com.yihucha.hbyhc.view.ClipPathCircleImage
|
|
|
27
|
+ android:id="@+id/imgv_head_commission"
|
|
|
28
|
+ android:layout_width="43dp"
|
|
|
29
|
+ android:layout_height="43dp"
|
|
|
30
|
+ android:layout_marginLeft="28dp"
|
|
|
31
|
+ android:layout_marginTop="5dp"
|
|
|
32
|
+ android:src="@mipmap/ic_launcher"
|
|
|
33
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_bg2"
|
|
|
34
|
+ app:layout_constraintTop_toTopOf="@+id/view_bg2" />
|
|
|
35
|
+
|
|
|
36
|
+ <TextView
|
|
|
37
|
+ android:id="@+id/tv_nickname_commission"
|
|
|
38
|
+ android:layout_width="wrap_content"
|
|
|
39
|
+ android:layout_height="wrap_content"
|
|
|
40
|
+ android:layout_marginLeft="11dp"
|
|
|
41
|
+ android:layout_marginTop="10dp"
|
|
|
42
|
+ android:padding="5dp"
|
|
|
43
|
+ android:text="不爱吃鱼的猫"
|
|
|
44
|
+ android:textColor="@color/white"
|
|
|
45
|
+ android:textSize="16sp"
|
|
|
46
|
+ app:layout_constraintLeft_toRightOf="@+id/imgv_head_commission"
|
|
|
47
|
+ app:layout_constraintTop_toTopOf="@+id/view_bg1" />
|
|
|
48
|
+
|
|
|
49
|
+ <TextView
|
|
|
50
|
+ android:id="@+id/tv_rules"
|
|
|
51
|
+ android:layout_width="wrap_content"
|
|
|
52
|
+ android:layout_height="wrap_content"
|
|
|
53
|
+ android:padding="5dp"
|
|
|
54
|
+ android:text="规则"
|
|
|
55
|
+ android:textColor="@color/white"
|
|
|
56
|
+ android:textSize="16sp"
|
|
|
57
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_nickname_commission"
|
|
|
58
|
+ app:layout_constraintRight_toRightOf="@+id/view_bg2" />
|
|
|
59
|
+
|
|
|
60
|
+ <TextView
|
|
|
61
|
+ android:id="@+id/tv_income_yue"
|
|
|
62
|
+ android:layout_width="wrap_content"
|
|
|
63
|
+ android:layout_height="wrap_content"
|
|
|
64
|
+ android:layout_marginLeft="-5dp"
|
|
|
65
|
+ android:layout_marginTop="14dp"
|
|
|
66
|
+ android:text="收益余额(元)"
|
|
|
67
|
+ android:textColor="@color/black_333333"
|
|
|
68
|
+ android:textSize="13sp"
|
|
|
69
|
+ app:layout_constraintLeft_toLeftOf="@+id/imgv_head_commission"
|
|
|
70
|
+ app:layout_constraintTop_toBottomOf="@+id/imgv_head_commission" />
|
|
|
71
|
+
|
|
|
72
|
+ <TextView
|
|
|
73
|
+ android:id="@+id/tv_income_yue_value"
|
|
|
74
|
+ android:layout_width="wrap_content"
|
|
|
75
|
+ android:layout_height="wrap_content"
|
|
|
76
|
+ android:layout_marginTop="3dp"
|
|
|
77
|
+ android:text="6666.66"
|
|
|
78
|
+ android:textColor="@color/black_333333"
|
|
|
79
|
+ android:textSize="25sp"
|
|
|
80
|
+ app:layout_constraintLeft_toLeftOf="@+id/tv_income_yue"
|
|
|
81
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_income_yue" />
|
|
|
82
|
+
|
|
|
83
|
+ <TextView
|
|
|
84
|
+ android:id="@+id/tv_income_total"
|
|
|
85
|
+ android:layout_width="0dp"
|
|
|
86
|
+ android:layout_height="wrap_content"
|
|
|
87
|
+ android:layout_marginLeft="-5dp"
|
|
|
88
|
+ android:layout_marginTop="14dp"
|
|
|
89
|
+ android:text="总收益(元)"
|
|
|
90
|
+ android:textColor="@color/black_333333"
|
|
|
91
|
+ android:textSize="13sp"
|
|
|
92
|
+ app:layout_constraintLeft_toLeftOf="@+id/imgv_head_commission"
|
|
|
93
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_income_wjs"
|
|
|
94
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_income_yue_value" />
|
|
|
95
|
+
|
|
|
96
|
+ <TextView
|
|
|
97
|
+ android:id="@+id/tv_income_wjs"
|
|
|
98
|
+ android:layout_width="0dp"
|
|
|
99
|
+ android:layout_height="wrap_content"
|
|
|
100
|
+ android:text="未结算(元)"
|
|
|
101
|
+ android:textColor="@color/black_333333"
|
|
|
102
|
+ android:textSize="13sp"
|
|
|
103
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_income_total"
|
|
|
104
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_income_ytx"
|
|
|
105
|
+ app:layout_constraintTop_toTopOf="@+id/tv_income_total"
|
|
|
106
|
+
|
|
|
107
|
+ />
|
|
|
108
|
+
|
|
|
109
|
+ <TextView
|
|
|
110
|
+ android:id="@+id/tv_income_ytx"
|
|
|
111
|
+ android:layout_width="0dp"
|
|
|
112
|
+ android:layout_height="wrap_content"
|
|
|
113
|
+ android:layout_marginRight="33dp"
|
|
|
114
|
+ android:text="已提现(元)"
|
|
|
115
|
+ android:textColor="@color/black_333333"
|
|
|
116
|
+ android:textSize="13sp"
|
|
|
117
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_income_wjs"
|
|
|
118
|
+ app:layout_constraintRight_toRightOf="@id/view_bg2"
|
|
|
119
|
+ app:layout_constraintTop_toTopOf="@+id/tv_income_total" />
|
|
|
120
|
+
|
|
|
121
|
+
|
|
|
122
|
+ <TextView
|
|
|
123
|
+ android:id="@+id/tv_income_total_value"
|
|
|
124
|
+ android:layout_width="0dp"
|
|
|
125
|
+ android:layout_height="wrap_content"
|
|
|
126
|
+ android:layout_marginTop="3dp"
|
|
|
127
|
+ android:text="9999.99"
|
|
|
128
|
+ android:textColor="@color/black_333333"
|
|
|
129
|
+ android:textSize="15sp"
|
|
|
130
|
+ app:layout_constraintLeft_toLeftOf="@+id/imgv_head_commission"
|
|
|
131
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_income_wjs_value"
|
|
|
132
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_income_total" />
|
|
|
133
|
+
|
|
|
134
|
+ <TextView
|
|
|
135
|
+ android:id="@+id/tv_income_wjs_value"
|
|
|
136
|
+ android:layout_width="0dp"
|
|
|
137
|
+ android:layout_height="wrap_content"
|
|
|
138
|
+ android:text="9999999"
|
|
|
139
|
+ android:textColor="@color/black_333333"
|
|
|
140
|
+ android:textSize="15sp"
|
|
|
141
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_income_total_value"
|
|
|
142
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_income_ytx_value"
|
|
|
143
|
+ app:layout_constraintTop_toTopOf="@+id/tv_income_total_value"
|
|
|
144
|
+
|
|
|
145
|
+ />
|
|
|
146
|
+
|
|
|
147
|
+ <TextView
|
|
|
148
|
+ android:id="@+id/tv_income_ytx_value"
|
|
|
149
|
+ android:layout_width="0dp"
|
|
|
150
|
+ android:layout_height="wrap_content"
|
|
|
151
|
+ android:layout_marginRight="33dp"
|
|
|
152
|
+ android:text="9999.99"
|
|
|
153
|
+ android:textColor="@color/black_333333"
|
|
|
154
|
+ android:textSize="15sp"
|
|
|
155
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_income_wjs_value"
|
|
|
156
|
+ app:layout_constraintRight_toRightOf="@id/view_bg2"
|
|
|
157
|
+ app:layout_constraintTop_toTopOf="@+id/tv_income_total_value" />
|
|
|
158
|
+
|
|
|
159
|
+ <TextView
|
|
|
160
|
+ android:id="@+id/tv_go_tixian"
|
|
|
161
|
+ android:layout_width="wrap_content"
|
|
|
162
|
+ android:layout_height="wrap_content"
|
|
|
163
|
+ android:layout_marginBottom="25dp"
|
|
|
164
|
+ android:drawableLeft="@mipmap/icon_go_tixian"
|
|
|
165
|
+ android:drawablePadding="5dp"
|
|
|
166
|
+ android:text="申请提现"
|
|
|
167
|
+ android:textColor="@color/black_333333"
|
|
|
168
|
+ android:textSize="15sp"
|
|
|
169
|
+ app:layout_constraintBottom_toBottomOf="@+id/view_bg2"
|
|
|
170
|
+ app:layout_constraintLeft_toLeftOf="@+id/view_bg2"
|
|
|
171
|
+ app:layout_constraintRight_toLeftOf="@+id/tv_invitate_friends" />
|
|
|
172
|
+
|
|
|
173
|
+ <TextView
|
|
|
174
|
+ android:id="@+id/tv_invitate_friends"
|
|
|
175
|
+ android:layout_width="wrap_content"
|
|
|
176
|
+ android:layout_height="wrap_content"
|
|
|
177
|
+ android:drawableLeft="@mipmap/icon_invitate_friends"
|
|
|
178
|
+ android:drawablePadding="5dp"
|
|
|
179
|
+ android:text="申请提现"
|
|
|
180
|
+ android:textColor="@color/black_333333"
|
|
|
181
|
+ android:textSize="15sp"
|
|
|
182
|
+ app:layout_constraintBottom_toBottomOf="@+id/tv_go_tixian"
|
|
|
183
|
+ app:layout_constraintLeft_toRightOf="@+id/tv_go_tixian"
|
|
|
184
|
+ app:layout_constraintRight_toRightOf="@id/view_bg2" />
|
|
|
185
|
+
|
|
|
186
|
+
|
|
|
187
|
+ <LinearLayout
|
|
|
188
|
+ android:id="@+id/ll_invite_partners"
|
|
|
189
|
+ android:layout_width="match_parent"
|
|
|
190
|
+ android:layout_height="wrap_content"
|
|
|
191
|
+ android:layout_marginTop="3dp"
|
|
|
192
|
+ android:gravity="center_vertical"
|
|
|
193
|
+ android:orientation="horizontal"
|
|
|
194
|
+ android:paddingTop="13dp"
|
|
|
195
|
+ android:paddingRight="20dp"
|
|
|
196
|
+ android:paddingBottom="13dp"
|
|
|
197
|
+ app:layout_constraintTop_toBottomOf="@+id/view_bg2">
|
|
|
198
|
+
|
|
|
199
|
+ <TextView
|
|
|
200
|
+ android:layout_width="0dp"
|
|
|
201
|
+ android:layout_height="wrap_content"
|
|
|
202
|
+ android:layout_weight="1"
|
|
|
203
|
+ android:drawableLeft="@mipmap/icon_syxq"
|
|
|
204
|
+ android:drawablePadding="8dp"
|
|
|
205
|
+ android:paddingLeft="20dp"
|
|
|
206
|
+
|
|
|
207
|
+ android:text="收益详情"
|
|
|
208
|
+ android:textColor="@color/black_333333"
|
|
|
209
|
+ android:textSize="13sp" />
|
|
|
210
|
+
|
|
|
211
|
+ <ImageView
|
|
|
212
|
+ android:layout_width="wrap_content"
|
|
|
213
|
+ android:layout_height="wrap_content"
|
|
|
214
|
+ android:src="@mipmap/order_store_entry_220624" />
|
|
|
215
|
+ </LinearLayout>
|
|
|
216
|
+
|
|
|
217
|
+ <View
|
|
|
218
|
+ android:id="@+id/view_line"
|
|
|
219
|
+ android:layout_width="match_parent"
|
|
|
220
|
+ android:layout_height="0.5dp"
|
|
|
221
|
+ android:layout_marginTop="3dp"
|
|
|
222
|
+ android:layout_marginLeft="20dp"
|
|
|
223
|
+ android:layout_marginRight="20dp"
|
|
|
224
|
+ android:background="@color/gray_e5e5e5"
|
|
|
225
|
+ app:layout_constraintTop_toBottomOf="@+id/ll_invite_partners" />
|
|
|
226
|
+
|
|
|
227
|
+ <LinearLayout
|
|
|
228
|
+ android:id="@+id/ll_tixian_records"
|
|
|
229
|
+ android:layout_width="match_parent"
|
|
|
230
|
+ android:layout_height="wrap_content"
|
|
|
231
|
+ android:layout_marginTop="3dp"
|
|
|
232
|
+ android:gravity="center_vertical"
|
|
|
233
|
+ android:orientation="horizontal"
|
|
|
234
|
+ android:paddingLeft="20dp"
|
|
|
235
|
+ android:paddingTop="13dp"
|
|
|
236
|
+ android:paddingRight="20dp"
|
|
|
237
|
+ android:paddingBottom="13dp"
|
|
|
238
|
+ app:layout_constraintTop_toBottomOf="@+id/view_line">
|
|
|
239
|
+
|
|
|
240
|
+ <TextView
|
|
|
241
|
+ android:layout_width="0dp"
|
|
|
242
|
+ android:layout_height="wrap_content"
|
|
|
243
|
+ android:layout_weight="1"
|
|
|
244
|
+ android:drawableLeft="@mipmap/icon_txjl"
|
|
|
245
|
+ android:drawablePadding="8dp"
|
|
|
246
|
+ android:text="提现记录"
|
|
|
247
|
+ android:textColor="@color/black_333333"
|
|
|
248
|
+ android:textSize="13sp" />
|
|
|
249
|
+
|
|
|
250
|
+ <ImageView
|
|
|
251
|
+ android:layout_width="wrap_content"
|
|
|
252
|
+ android:layout_height="wrap_content"
|
|
|
253
|
+ android:src="@mipmap/order_store_entry_220624" />
|
|
|
254
|
+ </LinearLayout>
|
|
|
255
|
+</androidx.constraintlayout.widget.ConstraintLayout>
|