From 389d1e5aedc99a3909c61db855b18a2936919942 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期四, 07 三月 2024 14:37:59 +0800 Subject: [PATCH] 修复设置电量单价时没有保留三位小数的bug --- 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