From 88c82455871cd03e0a0b6f32591f9bee74a2dc34 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期二, 05 三月 2024 14:52:22 +0800 Subject: [PATCH] 1.修改卡标识的bug 2.优化卡结构的代码 --- app/src/main/res/layout/activity_recharge_list.xml | 24 +++++++++++++++++------- 1 files changed, 17 insertions(+), 7 deletions(-) diff --git a/app/src/main/res/layout/activity_recharge_list.xml b/app/src/main/res/layout/activity_recharge_list.xml index e9994ce..4c0d194 100644 --- a/app/src/main/res/layout/activity_recharge_list.xml +++ b/app/src/main/res/layout/activity_recharge_list.xml @@ -14,15 +14,25 @@ app:leftImage="@mipmap/icon_back" app:rightText="绛涢��" /> - <ListView - android:id="@+id/recharge_list" + <com.scwang.smart.refresh.layout.SmartRefreshLayout + android:id="@+id/refreshLayout" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_above="@+id/recharge_total" - android:layout_below="@+id/titleBar" - android:cacheColorHint="#ffffff" - android:divider="@null" - android:dividerHeight="0dp" /> + android:layout_above="@id/recharge_total" + android:layout_below="@+id/titleBar"> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recyclerView" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="#ffffff" + android:overScrollMode="never" + android:padding="10dp" /> + + <com.scwang.smart.refresh.footer.ClassicsFooter + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + </com.scwang.smart.refresh.layout.SmartRefreshLayout> <TextView android:id="@+id/recharge_total" -- Gitblit v1.8.0