From 7cfa7455b345faa55f2d11ff21b1e6b9e678a5a2 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 16 八月 2024 15:51:16 +0800 Subject: [PATCH] 界面添加图标 --- baselibrary/src/main/res/layout/text_dialog.xml | 28 ++++++++++++++++++++++------ 1 files changed, 22 insertions(+), 6 deletions(-) diff --git a/baselibrary/src/main/res/layout/text_dialog.xml b/baselibrary/src/main/res/layout/text_dialog.xml index 4bff1ac..4b4b1cb 100644 --- a/baselibrary/src/main/res/layout/text_dialog.xml +++ b/baselibrary/src/main/res/layout/text_dialog.xml @@ -2,25 +2,40 @@ <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"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" + android:padding="5dp" android:layout_margin="@dimen/dialog_bg_margin" android:background="@drawable/base_bg_dialog_top_stroke" android:gravity="center" android:orientation="vertical"> - - <TextView - android:id="@+id/textData" - android:layout_width="300dp" + + android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="20dp" android:layout_marginTop="20dp" + android:layout_marginRight="20dp" + android:gravity="center" + android:text="鎻� 绀�" + android:textColor="@color/text_color" + android:textSize="20sp" /> + <View + android:layout_width="match_parent" + android:layout_height="2px" + android:layout_marginTop="20dp" + android:background="@color/line_bg" /> + <TextView + android:id="@+id/textData" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="20dp" + android:layout_marginTop="30dp" android:layout_marginRight="20dp" android:gravity="center" android:textColor="@color/text_color" @@ -29,7 +44,7 @@ <View android:layout_width="match_parent" android:layout_height="2px" - android:layout_marginTop="20dp" + android:layout_marginTop="30dp" android:background="@color/line_bg" /> <LinearLayout @@ -47,6 +62,7 @@ android:paddingTop="5dp" android:paddingRight="15dp" android:paddingBottom="5dp" + android:background="@drawable/textview_select_bg" android:text="纭� 璁�" android:textColor="@color/dialog_btn" android:textSize="20sp" /> -- Gitblit v1.8.0