From 8b566e47b67d74d1915bc9f2c07204dd1a222197 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期三, 04 六月 2025 13:44:00 +0800 Subject: [PATCH] feat(generallibrary): 添加按钮和对话框的背景 drawable --- baselibrary/src/main/res/layout/custom_titlebar.xml | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/baselibrary/src/main/res/layout/custom_titlebar.xml b/baselibrary/src/main/res/layout/custom_titlebar.xml index 693296c..ca1e8c3 100644 --- a/baselibrary/src/main/res/layout/custom_titlebar.xml +++ b/baselibrary/src/main/res/layout/custom_titlebar.xml @@ -84,14 +84,14 @@ android:layout_weight="2" android:background="@null" android:gravity="center_vertical|right" - android:orientation="horizontal" - android:paddingRight="15dp"> + android:orientation="horizontal"> <TextView android:id="@+id/tv_titlebar_right" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:layout_marginRight="15dp" android:background="@null" android:text="瀹屾垚" android:textColor="#ffffff" @@ -103,6 +103,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@null" + android:paddingLeft="5dp" + android:paddingTop="10dp" + android:paddingBottom="10dp" android:src="@null" android:visibility="visible" /> </LinearLayout> -- Gitblit v1.8.0