From fdcfe6ef562cc3e8bbd6fcf2faedfbd9571f4490 Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期一, 01 四月 2024 14:33:42 +0800
Subject: [PATCH] 解决小程序白屏的问题
---
app/src/main/res/layout/dialog_confirm_cancel.xml | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/app/src/main/res/layout/dialog_confirm_cancel.xml b/app/src/main/res/layout/dialog_confirm_cancel.xml
index 16fe379..f1fef1a 100644
--- a/app/src/main/res/layout/dialog_confirm_cancel.xml
+++ b/app/src/main/res/layout/dialog_confirm_cancel.xml
@@ -2,11 +2,12 @@
<androidx.constraintlayout.widget.ConstraintLayout 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"
+ >
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/loading_confirmation_cl"
- android:layout_width="0dp"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_48"
android:layout_marginTop="@dimen/dp_20"
@@ -39,6 +40,7 @@
android:layout_marginTop="@dimen/dp_34"
android:layout_marginEnd="@dimen/dp_20"
android:layout_marginBottom="@dimen/dp_34"
+ android:gravity="center"
android:singleLine="false"
android:textColor="@color/text_030D1C"
app:layout_constraintBottom_toTopOf="@+id/dialog_confirm_bottom_line_ly"
@@ -70,7 +72,7 @@
android:id="@+id/dialog_cancel_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/loading_鍙栨秷"
+ android:text="@string/loading_cancel"
android:textColor="@color/text_7C8590"
android:textSize="@dimen/text_18" />
@@ -94,7 +96,7 @@
android:id="@+id/dialog_confirm_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/loading_纭"
+ android:text="@string/loading_affirm"
android:textColor="@color/text_FF245EC3"
android:textSize="@dimen/text_18" />
</LinearLayout>
--
Gitblit v1.8.0