From 8226f232c39359b36aff8a9b0453c2fb48ee4372 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期一, 18 十二月 2023 11:48:53 +0800 Subject: [PATCH] 用户列表分页加载 --- app/src/main/res/layout/item_new_card.xml | 93 +++++++++++++++++++++++++--------------------- 1 files changed, 51 insertions(+), 42 deletions(-) diff --git a/app/src/main/res/layout/item_new_card.xml b/app/src/main/res/layout/item_new_card.xml index 5c63167..574e7eb 100644 --- a/app/src/main/res/layout/item_new_card.xml +++ b/app/src/main/res/layout/item_new_card.xml @@ -1,57 +1,66 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical"> + + +<layout xmlns:android="http://schemas.android.com/apk/res/android"> + <LinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginLeft="15dp" - android:layout_marginTop="10dp" - android:layout_marginRight="15dp" + android:layout_height="match_parent" android:orientation="vertical"> - <TextView - android:id="@+id/userName" + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_weight="1" - android:text="鐢ㄦ埛鍚�" - android:textSize="14sp" /> + android:layout_marginLeft="15dp" + android:layout_marginTop="10dp" + android:layout_marginRight="15dp" + android:orientation="vertical"> - <TextView - android:id="@+id/userNo" + <TextView + android:id="@+id/userName" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="鐢ㄦ埛鍚�" + android:textSize="14sp" /> + + <TextView + android:id="@+id/userNo" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="鎴峰彿锛�123123" + android:textSize="14sp" /> + + <TextView + android:id="@+id/water" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="姘撮噺锛�123123" + android:textSize="14sp" /> + + <TextView + android:id="@+id/date" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="鏃ユ湡" + android:textSize="14sp" /> + + + </LinearLayout> + + + <View android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_weight="1" - android:text="鎴峰彿锛�123123" - android:textSize="14sp" /> - - <TextView - android:id="@+id/water" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_weight="1" - android:text="姘撮噺锛�123123" - android:textSize="14sp" /> - - <TextView - android:id="@+id/date" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_weight="1" - android:text="鏃ユ湡" - android:textSize="14sp" /> - + android:layout_height="1px" + android:layout_marginTop="15dp" + android:background="#000000" /> </LinearLayout> - <View - android:layout_width="match_parent" - android:layout_height="1px" - android:layout_marginTop="15dp" - android:background="#000000" /> +</layout> -</LinearLayout> \ No newline at end of file -- Gitblit v1.8.0