From 9cffe03d76840520bfbfeaf85933fcb2ed8385b8 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期三, 05 三月 2025 10:19:46 +0800 Subject: [PATCH] feat(generallibrary): 新增主界面和相关功能模块 - 新增 MainActivity 作为主界面,包含三个底部导航栏选项卡- 新增 BSCardFragment、RechargeFragment 和 MyFragment 作为三个选项卡对应的页面 - 新增 NewCardActivity 用于新建卡片 - 新增 AreaCard 类用于处理区域表号卡数据 - 新增 BaseCard 类作为卡片数据的基础类 - 新增 TabAdapter 用于管理选项卡页面 - 更新 AndroidManifest.xml 设置主活动为 MainActivity - 更新 build.gradle 添加 generallibrary 依赖 --- baselibrary/src/main/res/layout/confirm_dialog.xml | 28 ++++++++++++++++++++++++---- 1 files changed, 24 insertions(+), 4 deletions(-) diff --git a/baselibrary/src/main/res/layout/confirm_dialog.xml b/baselibrary/src/main/res/layout/confirm_dialog.xml index a0d9d24..109888b 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"> @@ -15,9 +15,26 @@ android:orientation="vertical"> <TextView - android:id="@+id/confirm_data" - android:layout_width="wrap_content" + 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" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="20dp" android:gravity="center" android:text="杩樻湭鍐欏崱锛侊紒锛乗n鎮ㄧ‘璁ら��鍑哄悧锛�" android:textColor="@color/text_color" @@ -32,13 +49,15 @@ <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="horizontal"> + android:orientation="horizontal" + android:padding="5dp"> <TextView android:id="@+id/confirm_cancel" android:layout_width="0dp" android:layout_height="@dimen/dialog_btn_height" android:layout_weight="1" + android:background="@drawable/textview_select_bg" android:gravity="center" android:text="鍙� 娑�" android:textColor="@color/text_color" @@ -54,6 +73,7 @@ android:layout_width="0dp" android:layout_height="@dimen/dialog_btn_height" android:layout_weight="1" + android:background="@drawable/textview_select_bg" android:gravity="center" android:text="纭� 璁�" android:textColor="@color/dialog_btn" -- Gitblit v1.8.0