From ebc06a3ae3a42bd6ac1359a59c55d5e6f1a0e2f0 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期二, 26 三月 2024 16:18:08 +0800 Subject: [PATCH] 优化通讯 写卡界面添加二次确认 优化用户写卡逻辑,提高写卡速度。 --- app/src/main/res/layout/activity_red_card.xml | 34 +++++++++++++++++++++++++++------- 1 files changed, 27 insertions(+), 7 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..cf603f9 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" @@ -74,7 +88,13 @@ android:layout_marginTop="15dp" android:text="鍗$姸鎬侊細" android:textSize="@dimen/text_size" /> - + <TextView + android:id="@+id/red_addressCode" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="15dp" + android:text="鍦板潃缂栫爜锛�" + android:textSize="@dimen/text_size" /> </LinearLayout> </ScrollView> -- Gitblit v1.8.0