From 08bfe3072377b53c60e0952f00c26bce2e5b4bc0 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期三, 18 六月 2025 17:05:55 +0800 Subject: [PATCH] feat(card): 添加卡片返还功能- 新增 CardReturnActivity 用于执行卡片返还操作 - 在 BSCardFragment 中添加返还按钮,跳转到 CardReturnActivity - 在 CardOperationType 中添加 ReturnCard 类型 - 修改 CardReadActivity,优化卡片信息显示逻辑 - 更新 CardWriteSuccessActivity,支持返还成功提示 - 新增 ic_morny_back 图标用于返还操作 --- app/src/main/res/layout/activity_login.xml | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml index 40c5678..4a637d3 100644 --- a/app/src/main/res/layout/activity_login.xml +++ b/app/src/main/res/layout/activity_login.xml @@ -7,11 +7,12 @@ <TextView + android:id="@+id/title" android:layout_width="match_parent" android:layout_height="0dp" android:layout_marginLeft="20dp" android:layout_marginRight="20dp" - android:layout_weight="1.5" + android:layout_weight="1.3" android:gravity="center" android:text="@string/login_title" android:textSize="30sp" @@ -22,7 +23,30 @@ android:layout_height="0dp" android:layout_weight="1" android:orientation="vertical"> + <LinearLayout + android:id="@+id/nameLL" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="20dp" + android:layout_marginTop="20dp" + android:visibility="gone" + android:layout_marginRight="20dp"> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="璐﹀彿锛�" + android:textSize="@dimen/text_size" /> + + <EditText + android:id="@+id/login_name" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:hint="璇疯緭鍏ヨ处鍙�" + android:maxLines="1" + android:singleLine="true" + android:text="15802220723" /> + </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" @@ -42,7 +66,7 @@ android:layout_height="wrap_content" android:hint="鍒濆瀵嗙爜涓烘暟瀛�1-6" android:inputType="textPassword" - android:text="" /> + android:text="abc_123" /> </LinearLayout> @@ -63,7 +87,6 @@ android:id="@+id/versionName" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="v2.0" - /> + android:text="v2.0" /> </LinearLayout> \ No newline at end of file -- Gitblit v1.8.0