From c1d325aeb5bfc710b1ef4d801619ffb65e0afe90 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 24 十一月 2023 18:03:15 +0800 Subject: [PATCH] 修复当查无此卡状态时的bug --- app/src/main/res/layout/activity_red_card.xml | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/activity_red_card.xml b/app/src/main/res/layout/activity_red_card.xml index 985f6d9..07f0256 100644 --- a/app/src/main/res/layout/activity_red_card.xml +++ b/app/src/main/res/layout/activity_red_card.xml @@ -34,13 +34,25 @@ android:text="鐢ㄦ埛濮撳悕锛�" android:textSize="@dimen/text_size" /> - <TextView - android:id="@+id/red_initCode" + <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="15dp" - android:text="鐢ㄦ埛娉ㄥ唽缂栧彿锛�" - android:textSize="@dimen/text_size" /> + android:orientation="horizontal"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鐢ㄦ埛娉ㄥ唽缂栧彿锛�" + android:textSize="@dimen/text_size" /> + + <TextView + android:id="@+id/red_initCode" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="" + android:textSize="@dimen/text_size" /> + </LinearLayout> <TextView -- Gitblit v1.8.0