From 0fe9cc9142484ea3818340ca709886c126faf986 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 15 三月 2024 18:53:28 +0800 Subject: [PATCH] 修复列表显示异常的bug 修复充值后用户卡结构翻译异常的bug --- app/src/main/res/layout/activity_replacement.xml | 21 ++++++++++++++++----- 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/activity_replacement.xml b/app/src/main/res/layout/activity_replacement.xml index acbfa9c..21cd54b 100644 --- a/app/src/main/res/layout/activity_replacement.xml +++ b/app/src/main/res/layout/activity_replacement.xml @@ -14,13 +14,24 @@ app:leftImage="@mipmap/icon_back" app:rightText="绛涢��" /> - <ListView - android:id="@+id/newCard_listView" + <com.scwang.smart.refresh.layout.SmartRefreshLayout + android:id="@+id/refreshLayout" android:layout_width="match_parent" android:layout_height="match_parent" - android:cacheColorHint="#ffffff" - android:divider="@null" - android:dividerHeight="0dp" /> + android:layout_above="@id/user_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="#fff" + 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> </LinearLayout> \ No newline at end of file -- Gitblit v1.8.0