From 732e4481b8437719468cddfb4971ee54a4b36625 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期二, 02 四月 2024 09:48:38 +0800 Subject: [PATCH] 修复设备序列号没有设置地址时一直变化的bug --- app/src/main/res/layout/activity_recharge_list.xml | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/activity_recharge_list.xml b/app/src/main/res/layout/activity_recharge_list.xml index f1726f4..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" @@ -31,7 +41,7 @@ android:layout_alignParentBottom="true" android:background="@color/title_bg" android:gravity="center" - android:text="绱鍏呭�硷細" + android:text="宸插姞杞芥暟鎹疮璁″厖鍊硷細" android:textSize="@dimen/text_size" /> </RelativeLayout> \ No newline at end of file -- Gitblit v1.8.0