From cece79bf75a9b672b33b772acffca209eecfc8f2 Mon Sep 17 00:00:00 2001 From: zuoxiao <lf_zuo@163.com> Date: 星期四, 26 六月 2025 08:27:25 +0800 Subject: [PATCH] refactor(generallibrary):优化补卡界面布局和样式- 调整了卡片信息展示区域的样式,包括背景色、文字颜色等 - 优化了输入区域的布局结构,减小了控件间距和尺寸- 更新了确认补卡按钮的样式 - 统一了文字大小和颜色,提高了可读性 --- baselibrary/src/main/res/layout/confirm_dialog.xml | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/baselibrary/src/main/res/layout/confirm_dialog.xml b/baselibrary/src/main/res/layout/confirm_dialog.xml index eb1bbf4..32e0b2a 100644 --- a/baselibrary/src/main/res/layout/confirm_dialog.xml +++ b/baselibrary/src/main/res/layout/confirm_dialog.xml @@ -2,7 +2,7 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="#00ffffff" + android:background="#40000000" android:gravity="center" android:orientation="vertical"> @@ -13,6 +13,22 @@ android:background="@drawable/base_bg_dialog_top_stroke" android:gravity="center" android:orientation="vertical"> + + <TextView + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="20dp" + android:layout_marginTop="20dp" + android:layout_marginRight="20dp" + android:layout_marginBottom="5dp" + android:gravity="center" + android:text="" + android:textColor="@color/dialog_btn" + android:textSize="25sp" + android:textStyle="bold" + android:visibility="gone" /> + <TextView android:id="@+id/confirm_data" @@ -26,7 +42,7 @@ <View android:layout_width="match_parent" - android:layout_height="2px" + android:layout_height="1dp" android:layout_marginTop="20dp" android:background="@color/line_bg" /> @@ -48,7 +64,7 @@ android:textSize="20sp" /> <View - android:layout_width="2px" + android:layout_width="1dp" android:layout_height="match_parent" android:background="@color/line_bg" /> -- Gitblit v1.8.0