From d58bc0e2057f58342f490f5605eda3b80dc0ca29 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期三, 27 三月 2024 11:47:21 +0800 Subject: [PATCH] 添加中安身份证识别相关功能 优化贴卡提示 优化二次确认的按钮样式 添加超时时不在主线程的处理 --- app/src/main/res/layout/activity_newcard_list.xml | 39 +++++++++++++++++++++++++++++++-------- 1 files changed, 31 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/activity_newcard_list.xml b/app/src/main/res/layout/activity_newcard_list.xml index b170f31..560692e 100644 --- a/app/src/main/res/layout/activity_newcard_list.xml +++ b/app/src/main/res/layout/activity_newcard_list.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" @@ -10,17 +10,40 @@ android:layout_width="match_parent" android:layout_height="@dimen/dimen_title_height" android:background="@drawable/title_bar_bg" - app:centerText="娉ㄥ唽璁板綍" + app:centerText="寮�鎴疯褰�" 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="#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> -</LinearLayout> \ No newline at end of file + <TextView + android:id="@+id/user_total" + android:layout_width="match_parent" + android:layout_height="50dp" + android:layout_alignParentBottom="true" + android:background="@color/title_bg" + android:gravity="center" + android:text="宸插垱寤虹敤鎴凤細" + android:textSize="@dimen/text_size" /> + +</RelativeLayout> \ No newline at end of file -- Gitblit v1.8.0