From 7f55711fd88ff5dc67bbd386fbecc7bd50bd98c2 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期四, 06 三月 2025 14:44:04 +0800 Subject: [PATCH] feat(generallibrary): 新增制卡管理功能 --- generallibrary/src/main/res/layout/fragment_recharge.xml | 31 +++++++++++-------------------- 1 files changed, 11 insertions(+), 20 deletions(-) diff --git a/generallibrary/src/main/res/layout/fragment_recharge.xml b/generallibrary/src/main/res/layout/fragment_recharge.xml index 197c37a..e9971e8 100644 --- a/generallibrary/src/main/res/layout/fragment_recharge.xml +++ b/generallibrary/src/main/res/layout/fragment_recharge.xml @@ -5,29 +5,19 @@ android:layout_height="match_parent" android:background="#F5F5F5"> - <RelativeLayout - android:id="@+id/header_layout" + <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:elevation="4dp"> - - <TextView - android:id="@+id/titleBar" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerInParent="true" - android:text="鍏呭��" - android:textColor="@color/white" - android:textSize="@dimen/title_text_size" - android:textStyle="bold" /> - </RelativeLayout> + android:background="@color/title_bar_bg" + android:elevation="4dp" + app:centerText="鎴戠殑" /> <LinearLayout android:id="@+id/recharge_read_LL" android:layout_width="match_parent" android:layout_height="match_parent" - android:layout_below="@+id/header_layout" + android:layout_below="@+id/titleBar" android:orientation="vertical" android:visibility="visible"> @@ -83,6 +73,7 @@ android:layout_height="wrap_content" android:orientation="vertical" android:visibility="gone"> + <androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" @@ -96,7 +87,6 @@ android:layout_height="wrap_content" android:orientation="vertical" android:padding="16dp"> - <TextView @@ -113,8 +103,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#F9F9F9" - android:padding="12dp" - android:orientation="vertical"> + android:orientation="vertical" + android:padding="12dp"> <TextView android:id="@+id/recharge_tx" @@ -138,11 +128,12 @@ </LinearLayout> </LinearLayout> </androidx.cardview.widget.CardView> + <androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="16dp" android:layout_marginTop="15dp" + android:layout_marginBottom="16dp" app:cardCornerRadius="8dp" app:cardElevation="2dp"> -- Gitblit v1.8.0