From a1c880c476327032fe174af8c80d6f78a590dae9 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 07 二月 2025 16:35:22 +0800 Subject: [PATCH] Merge branch '1.5.1' into dev --- app/src/main/res/layout/dialog_flashing_box.xml | 25 +++++++++++-------------- 1 files changed, 11 insertions(+), 14 deletions(-) diff --git a/app/src/main/res/layout/dialog_flashing_box.xml b/app/src/main/res/layout/dialog_flashing_box.xml index 949cc42..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_128" - android:layout_marginEnd="@dimen/dp_128" + 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