|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
2
|
+<RelativeLayout 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
|
+ android:background="@color/white_f8f8f8"
|
|
|
8
|
+ android:paddingLeft="16dp"
|
|
|
9
|
+ android:paddingRight="16dp"
|
|
|
10
|
+ tools:context=".presentation.integral.RedIntegralActivity">
|
|
|
11
|
+
|
|
|
12
|
+ <com.lcodecore.tkrefreshlayout.TwinklingRefreshLayout
|
|
|
13
|
+ android:id="@+id/refresh_layout"
|
|
|
14
|
+ android:layout_width="match_parent"
|
|
|
15
|
+ android:layout_height="match_parent"
|
|
|
16
|
+ >
|
|
|
17
|
+
|
|
|
18
|
+ <androidx.core.widget.NestedScrollView
|
|
|
19
|
+ android:id="@+id/scrollView"
|
|
|
20
|
+ android:layout_width="match_parent"
|
|
|
21
|
+ android:layout_height="match_parent"
|
|
|
22
|
+ android:fillViewport="true">
|
|
|
23
|
+
|
|
|
24
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
25
|
+ android:layout_width="match_parent"
|
|
|
26
|
+ android:layout_height="wrap_content"
|
|
|
27
|
+ android:paddingTop="16dp"
|
|
|
28
|
+ android:layout_below="@+id/imgv_top_bg">
|
|
|
29
|
+
|
|
|
30
|
+ <com.yihucha.hbyhc.view.RoundCornerImageView
|
|
|
31
|
+ android:id="@+id/imgv_top_bg"
|
|
|
32
|
+ android:layout_width="match_parent"
|
|
|
33
|
+ android:layout_height="wrap_content"
|
|
|
34
|
+ android:scaleType="centerCrop"
|
|
|
35
|
+ android:src="@mipmap/bg_red_integral"
|
|
|
36
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
37
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
38
|
+ app:rciv_radius="10dp" />
|
|
|
39
|
+
|
|
|
40
|
+ <LinearLayout
|
|
|
41
|
+ android:layout_width="match_parent"
|
|
|
42
|
+ android:layout_height="wrap_content"
|
|
|
43
|
+ android:orientation="vertical"
|
|
|
44
|
+ android:paddingLeft="16dp"
|
|
|
45
|
+ app:layout_constraintTop_toTopOf="@+id/imgv_top_bg"
|
|
|
46
|
+ app:layout_constraintBottom_toBottomOf="@+id/imgv_top_bg"
|
|
|
47
|
+ >
|
|
|
48
|
+
|
|
|
49
|
+ <TextView
|
|
|
50
|
+ android:id="@+id/tv_name_integral"
|
|
|
51
|
+ android:layout_width="wrap_content"
|
|
|
52
|
+ android:layout_height="wrap_content"
|
|
|
53
|
+ android:layout_marginTop="30dp"
|
|
|
54
|
+ android:text="红积分"
|
|
|
55
|
+ android:textColor="@color/white"
|
|
|
56
|
+ android:textSize="14sp" />
|
|
|
57
|
+
|
|
|
58
|
+ <com.yihucha.hbyhc.view.BoldText
|
|
|
59
|
+ android:id="@+id/tv_red_integral"
|
|
|
60
|
+ android:layout_width="wrap_content"
|
|
|
61
|
+ android:layout_height="wrap_content"
|
|
|
62
|
+ android:layout_marginTop="5dp"
|
|
|
63
|
+ android:ellipsize="end"
|
|
|
64
|
+ android:text="0"
|
|
|
65
|
+ android:textColor="@color/white"
|
|
|
66
|
+ android:textSize="32sp" />
|
|
|
67
|
+ </LinearLayout>
|
|
|
68
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
69
|
+ android:id="@+id/layout_center_selector"
|
|
|
70
|
+ android:layout_width="match_parent"
|
|
|
71
|
+ android:layout_height="60dp"
|
|
|
72
|
+ app:layout_constraintTop_toBottomOf="@+id/imgv_top_bg">
|
|
|
73
|
+
|
|
|
74
|
+ <com.yihucha.hbyhc.view.BoldText
|
|
|
75
|
+ android:id="@+id/title_income"
|
|
|
76
|
+ android:layout_width="0dp"
|
|
|
77
|
+ android:layout_height="wrap_content"
|
|
|
78
|
+ android:layout_marginTop="10dp"
|
|
|
79
|
+ android:gravity="center"
|
|
|
80
|
+ android:text="收入明细"
|
|
|
81
|
+ android:textColor="@color/red_fe0032"
|
|
|
82
|
+ android:textSize="15sp"
|
|
|
83
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
84
|
+ app:layout_constraintRight_toLeftOf="@+id/title_pay"
|
|
|
85
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
86
|
+
|
|
|
87
|
+ <com.yihucha.hbyhc.view.BoldText
|
|
|
88
|
+ android:id="@+id/title_pay"
|
|
|
89
|
+ android:layout_width="0dp"
|
|
|
90
|
+ android:layout_height="wrap_content"
|
|
|
91
|
+ android:gravity="center"
|
|
|
92
|
+ android:text="支出明细"
|
|
|
93
|
+ android:textColor="@color/black_333333"
|
|
|
94
|
+ android:textSize="15sp"
|
|
|
95
|
+ app:layout_constraintLeft_toRightOf="@+id/title_income"
|
|
|
96
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
97
|
+ app:layout_constraintTop_toTopOf="@+id/title_income" />
|
|
|
98
|
+
|
|
|
99
|
+ <View
|
|
|
100
|
+ android:id="@+id/line_income"
|
|
|
101
|
+ android:layout_width="0dp"
|
|
|
102
|
+ android:layout_height="3dp"
|
|
|
103
|
+ android:layout_marginLeft="60dp"
|
|
|
104
|
+ android:layout_marginTop="8dp"
|
|
|
105
|
+ android:layout_marginRight="60dp"
|
|
|
106
|
+ android:background="@color/red_fe0032"
|
|
|
107
|
+ android:visibility="visible"
|
|
|
108
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
109
|
+ app:layout_constraintRight_toLeftOf="@+id/line_pay"
|
|
|
110
|
+ app:layout_constraintTop_toBottomOf="@+id/title_income" />
|
|
|
111
|
+
|
|
|
112
|
+ <View
|
|
|
113
|
+ android:id="@+id/line_pay"
|
|
|
114
|
+ android:layout_width="0dp"
|
|
|
115
|
+ android:layout_height="3dp"
|
|
|
116
|
+ android:layout_marginLeft="60dp"
|
|
|
117
|
+ android:layout_marginRight="60dp"
|
|
|
118
|
+ android:background="@color/red_fe0032"
|
|
|
119
|
+ android:visibility="invisible"
|
|
|
120
|
+ app:layout_constraintLeft_toRightOf="@+id/line_income"
|
|
|
121
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
122
|
+ app:layout_constraintTop_toTopOf="@+id/line_income" />
|
|
|
123
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
124
|
+
|
|
|
125
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
126
|
+ android:id="@+id/lv_integral"
|
|
|
127
|
+ android:layout_width="match_parent"
|
|
|
128
|
+ android:layout_height="wrap_content"
|
|
|
129
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
130
|
+ app:layout_constraintTop_toBottomOf="@+id/layout_center_selector" />
|
|
|
131
|
+
|
|
|
132
|
+ <include
|
|
|
133
|
+ android:id="@+id/layoutNoData"
|
|
|
134
|
+ layout="@layout/search_not_found"
|
|
|
135
|
+ android:layout_width="wrap_content"
|
|
|
136
|
+ android:layout_height="wrap_content"
|
|
|
137
|
+ android:visibility="gone"
|
|
|
138
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
139
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
140
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
141
|
+ app:layout_constraintTop_toBottomOf="@+id/layout_center_selector" />
|
|
|
142
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
143
|
+ </androidx.core.widget.NestedScrollView>
|
|
|
144
|
+ </com.lcodecore.tkrefreshlayout.TwinklingRefreshLayout>
|
|
|
145
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
146
|
+ android:id="@+id/layout_top_selector"
|
|
|
147
|
+ android:layout_width="match_parent"
|
|
|
148
|
+ android:layout_height="60dp"
|
|
|
149
|
+ android:visibility="invisible"
|
|
|
150
|
+ android:background="@color/white_f8f8f8"
|
|
|
151
|
+ >
|
|
|
152
|
+
|
|
|
153
|
+ <com.yihucha.hbyhc.view.BoldText
|
|
|
154
|
+ android:id="@+id/title_income_top"
|
|
|
155
|
+ android:layout_width="0dp"
|
|
|
156
|
+ android:layout_height="wrap_content"
|
|
|
157
|
+ android:layout_marginTop="10dp"
|
|
|
158
|
+ android:gravity="center"
|
|
|
159
|
+ android:text="收入明细"
|
|
|
160
|
+ android:textColor="@color/red_fe0032"
|
|
|
161
|
+ android:textSize="15sp"
|
|
|
162
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
163
|
+ app:layout_constraintRight_toLeftOf="@+id/title_pay_top"
|
|
|
164
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
165
|
+
|
|
|
166
|
+ <com.yihucha.hbyhc.view.BoldText
|
|
|
167
|
+ android:id="@+id/title_pay_top"
|
|
|
168
|
+ android:layout_width="0dp"
|
|
|
169
|
+ android:layout_height="wrap_content"
|
|
|
170
|
+ android:gravity="center"
|
|
|
171
|
+ android:text="支出明细"
|
|
|
172
|
+ android:textColor="@color/black_333333"
|
|
|
173
|
+ android:textSize="15sp"
|
|
|
174
|
+ app:layout_constraintLeft_toRightOf="@+id/title_income_top"
|
|
|
175
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
176
|
+ app:layout_constraintTop_toTopOf="@+id/title_income_top" />
|
|
|
177
|
+
|
|
|
178
|
+ <View
|
|
|
179
|
+ android:id="@+id/line_income_top"
|
|
|
180
|
+ android:layout_width="0dp"
|
|
|
181
|
+ android:layout_height="3dp"
|
|
|
182
|
+ android:layout_marginLeft="60dp"
|
|
|
183
|
+ android:layout_marginTop="8dp"
|
|
|
184
|
+ android:layout_marginRight="60dp"
|
|
|
185
|
+ android:background="@color/red_fe0032"
|
|
|
186
|
+ android:visibility="visible"
|
|
|
187
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
188
|
+ app:layout_constraintRight_toLeftOf="@+id/line_pay_top"
|
|
|
189
|
+ app:layout_constraintTop_toBottomOf="@+id/title_income_top" />
|
|
|
190
|
+
|
|
|
191
|
+ <View
|
|
|
192
|
+ android:id="@+id/line_pay_top"
|
|
|
193
|
+ android:layout_width="0dp"
|
|
|
194
|
+ android:layout_height="3dp"
|
|
|
195
|
+ android:layout_marginLeft="60dp"
|
|
|
196
|
+ android:layout_marginRight="60dp"
|
|
|
197
|
+ android:background="@color/red_fe0032"
|
|
|
198
|
+ android:visibility="invisible"
|
|
|
199
|
+ app:layout_constraintLeft_toRightOf="@+id/line_income_top"
|
|
|
200
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
201
|
+ app:layout_constraintTop_toTopOf="@+id/line_income_top" />
|
|
|
202
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
203
|
+</RelativeLayout>
|