From 793d4ee43f963935919f2ebf4b743e924c169e33 Mon Sep 17 00:00:00 2001 From: zuojincheng <lf_zuo@163.com> Date: 星期一, 31 三月 2025 09:59:20 +0800 Subject: [PATCH] feat(search): 新增用户搜索功能并优化用户体验 --- generallibrary/src/main/res/layout/fragment_card.xml | 26 +++++++++----------------- 1 files changed, 9 insertions(+), 17 deletions(-) diff --git a/generallibrary/src/main/res/layout/fragment_card.xml b/generallibrary/src/main/res/layout/fragment_card.xml index 71aee45..338af60 100644 --- a/generallibrary/src/main/res/layout/fragment_card.xml +++ b/generallibrary/src/main/res/layout/fragment_card.xml @@ -5,23 +5,14 @@ android:layout_height="match_parent" android:background="@color/white"> - <androidx.appcompat.widget.Toolbar + + <com.dayu.baselibrary.view.TitleBar android:id="@+id/titleBar" android:layout_width="match_parent" android:layout_height="@dimen/dimen_title_height" - android:background="@color/bottom_color" + android:background="@color/title_bar_bg" android:elevation="4dp" - app:layout_constraintTop_toTopOf="parent"> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:text="鍒跺崱" - android:textColor="@color/white" - android:textSize="@dimen/title_text_size" - android:textStyle="bold" /> - </androidx.appcompat.widget.Toolbar> + app:centerText="鍒跺崱" /> <ScrollView android:layout_width="match_parent" @@ -68,7 +59,7 @@ android:layout_height="wrap_content" android:layout_marginTop="8dp" android:gravity="center" - android:text="鏂板崱寮�鎴�" + android:text="寮�鍗�" android:textColor="@color/text_selecter_color" android:textSize="@dimen/home_text_size" /> </LinearLayout> @@ -147,7 +138,7 @@ android:layout_height="wrap_content" android:layout_marginTop="8dp" android:gravity="center" - android:text="璇诲彇鍗$墖" + android:text="璇诲崱" android:textColor="@color/text_selecter_color" android:textSize="@dimen/home_text_size" /> </LinearLayout> @@ -170,6 +161,7 @@ app:layout_constraintTop_toBottomOf="@+id/home_newCard"> <LinearLayout + android:id="@+id/home_loss_LL" android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center" @@ -244,7 +236,7 @@ </androidx.cardview.widget.CardView> <androidx.cardview.widget.CardView - android:id="@+id/home_admin" + android:id="@+id/home_manage" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginStart="8dp" @@ -279,7 +271,7 @@ android:layout_height="wrap_content" android:layout_marginTop="8dp" android:gravity="center" - android:text="绠$悊绯荤粺" + android:text="鍒朵綔绠$悊鍗�" android:textColor="@color/text_selecter_color" android:textSize="@dimen/home_text_size" /> </LinearLayout> -- Gitblit v1.8.0