From ebc06a3ae3a42bd6ac1359a59c55d5e6f1a0e2f0 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 26 三月 2024 16:18:08 +0800
Subject: [PATCH] 优化通讯 写卡界面添加二次确认 优化用户写卡逻辑,提高写卡速度。

---
 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