From 520c4343a7121d610391c41cd090c480d65d13f2 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 22 三月 2024 09:37:40 +0800 Subject: [PATCH] 读取卡片界面添加地址码字段 参数设置添加密码校验 --- app/src/main/res/layout/activity_red_card.xml | 28 +++++++++++++++++++++++----- 1 files changed, 23 insertions(+), 5 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..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 @@ -76,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