From 1a3a5ec4ea73e6999c7042ead473625a9deead02 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 28 八月 2025 17:41:56 +0800
Subject: [PATCH] 2025年08月28日17:41:53
---
app/src/main/res/layout/dialog_flashing_box.xml | 47 ++++++++++++++++++-----------------------------
1 files changed, 18 insertions(+), 29 deletions(-)
diff --git a/app/src/main/res/layout/dialog_flashing_box.xml b/app/src/main/res/layout/dialog_flashing_box.xml
index cbff012..c845cf5 100644
--- a/app/src/main/res/layout/dialog_flashing_box.xml
+++ b/app/src/main/res/layout/dialog_flashing_box.xml
@@ -1,41 +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">
- <androidx.constraintlayout.widget.ConstraintLayout
+ <LinearLayout
android:id="@+id/tip_parent_cl"
- android:layout_width="@dimen/dp_128"
- android:layout_height="@dimen/dp_120"
+ 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"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
-
- <TextView
- android:id="@+id/tip_image_tv"
- android:layout_width="@dimen/dp_36"
- android:layout_height="@dimen/dp_36"
- android:layout_marginTop="@dimen/dp_28"
- app:layout_constraintEnd_toEndOf="@id/tip_parent_cl"
- app:layout_constraintStart_toStartOf="@id/tip_parent_cl"
- app:layout_constraintTop_toTopOf="@id/tip_parent_cl" />
+ android:gravity="center"
+ android:paddingTop="@dimen/dp_8"
+ android:paddingBottom="@dimen/dp_8">
<TextView
android:id="@+id/tip_content_tv"
- android:layout_width="@dimen/dp_120"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
android:gravity="center"
- android:textColor="@color/text_FFFFFFFF"
- android:textSize="@dimen/text_14"
- app:layout_constraintEnd_toEndOf="@id/tip_parent_cl"
- app:layout_constraintStart_toStartOf="@id/tip_parent_cl"
- app:layout_constraintTop_toBottomOf="@id/tip_image_tv" />
+ android:paddingStart="@dimen/dp_10"
+ android:paddingEnd="@dimen/dp_10"
+ android:textColor="@color/text_FF1C1C1E"
+ android:textSize="@dimen/text_14" />
+ </LinearLayout>
-
- </androidx.constraintlayout.widget.ConstraintLayout>
-
-</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
+</LinearLayout>
\ No newline at end of file
--
Gitblit v1.8.0