From 88c82455871cd03e0a0b6f32591f9bee74a2dc34 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期二, 05 三月 2024 14:52:22 +0800 Subject: [PATCH] 1.修改卡标识的bug 2.优化卡结构的代码 --- app/src/main/res/layout/activity_red_card.xml | 26 ++++++++++++++++++++------ 1 files changed, 20 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/activity_red_card.xml b/app/src/main/res/layout/activity_red_card.xml index 6b36e64..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 @@ -57,7 +69,8 @@ android:layout_height="wrap_content" android:layout_marginTop="15dp" android:text="鏈崱鏈�鍚庤喘姘存棩鏈燂細" - android:textSize="@dimen/text_size" /> + android:textSize="@dimen/text_size" + android:visibility="gone" /> <TextView android:id="@+id/red_rechargeNumber" @@ -65,7 +78,8 @@ android:layout_height="wrap_content" android:layout_marginTop="15dp" android:text="鏈崱鍏呭�兼鏁帮細" - android:textSize="@dimen/text_size" /> + android:textSize="@dimen/text_size" + android:visibility="gone" /> <TextView android:id="@+id/red_statu" -- Gitblit v1.8.0