From 5f4c3669ddd8fe27449b04a4b9db12b2ca4b3688 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期二, 14 一月 2025 16:27:29 +0800 Subject: [PATCH] 1.文件上传和显示添加缩略图功能。 --- app/src/main/res/layout/activity_change_pass_word.xml | 23 +++++++++++++++++------ 1 files changed, 17 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/activity_change_pass_word.xml b/app/src/main/res/layout/activity_change_pass_word.xml index 517952b..5045cd7 100644 --- a/app/src/main/res/layout/activity_change_pass_word.xml +++ b/app/src/main/res/layout/activity_change_pass_word.xml @@ -11,14 +11,17 @@ layout="@layout/top_title" /> - <EditText + android:id="@+id/oldPassword" android:layout_width="match_parent" android:layout_height="@dimen/item_height" + android:layout_marginTop="10dp" android:background="@color/white" android:hint="璇疯緭鍏ユ棫瀵嗙爜" + android:maxLines="1" android:paddingLeft="20dp" - android:paddingRight="20dp" /> + android:paddingRight="20dp" + android:singleLine="true" /> <TextView @@ -27,29 +30,37 @@ android:gravity="bottom" android:paddingLeft="20dp" android:paddingBottom="3dp" - android:textColor="@color/grey" android:text="瀵嗙爜涓�6-12浣嶆暟瀛楁垨瀛楁瘝" - /> + android:textColor="@color/grey" /> <EditText + android:id="@+id/newPsone" android:layout_width="match_parent" android:layout_height="@dimen/item_height" android:background="@color/white" android:hint="璇疯緭鍏ユ柊瀵嗙爜" + android:inputType="textPassword" + android:maxLines="1" android:paddingLeft="20dp" - android:paddingRight="20dp" /> + android:paddingRight="20dp" + android:singleLine="true" /> <EditText + android:id="@+id/newPsTwo" android:layout_width="match_parent" android:layout_height="@dimen/item_height" android:layout_marginTop="1dp" android:background="@color/white" android:hint="鍐嶆杈撳叆鏂板瘑鐮�" + android:inputType="textPassword" + android:maxLines="1" android:paddingLeft="20dp" - android:paddingRight="20dp" /> + android:paddingRight="20dp" + android:singleLine="true" /> <TextView + android:id="@+id/changePSBtn" android:layout_width="match_parent" android:layout_height="@dimen/item_height" android:layout_marginLeft="40dp" -- Gitblit v1.8.0