From 1a8ba64b9cca5aaa98c4f84602f0fb78d3b6b6b4 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 25 十二月 2024 13:27:02 +0800 Subject: [PATCH] 2024年12月25日13:26:59 --- app/src/main/res/layout/dialog_flashing_box.xml | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/dialog_flashing_box.xml b/app/src/main/res/layout/dialog_flashing_box.xml index d6429f7..df51b53 100644 --- a/app/src/main/res/layout/dialog_flashing_box.xml +++ b/app/src/main/res/layout/dialog_flashing_box.xml @@ -1,33 +1,30 @@ <?xml version="1.0" encoding="utf-8"?> -<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:gravity="center"> <LinearLayout android:id="@+id/tip_parent_cl" - android:layout_width="0dp" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/dp_100" android:layout_marginEnd="@dimen/dp_100" android:background="@drawable/dialog_flashing_box" android:gravity="center" - android:paddingTop="@dimen/dp_16" - android:paddingBottom="@dimen/dp_16" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent"> + android:paddingTop="@dimen/dp_8" + android:paddingBottom="@dimen/dp_8"> <TextView android:id="@+id/tip_content_tv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" - android:paddingStart="@dimen/dp_4" - android:paddingEnd="@dimen/dp_4" + android:paddingStart="@dimen/dp_10" + android:paddingEnd="@dimen/dp_10" android:textColor="@color/text_E6FFFFFF" android:textSize="@dimen/text_14" /> </LinearLayout> -</androidx.constraintlayout.widget.ConstraintLayout> \ No newline at end of file +</LinearLayout> \ No newline at end of file -- Gitblit v1.8.0