From 94c235c116ebca594662417b5fb2c7378f326c6b Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期三, 08 一月 2025 18:12:31 +0800 Subject: [PATCH] 1.优化上传相关代码。 2.修复多个文件上传时进度条显示异常。 --- app/src/main/res/layout/activity_change_pass_word.xml | 45 +++++++++++++++++++++++++++------------------ 1 files changed, 27 insertions(+), 18 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 cbd933c..5045cd7 100644 --- a/app/src/main/res/layout/activity_change_pass_word.xml +++ b/app/src/main/res/layout/activity_change_pass_word.xml @@ -6,62 +6,71 @@ android:background="@color/bg_color" android:orientation="vertical"> - <com.dayu.pipirrapp.view.TitleBar + <include android:id="@+id/title" - android:layout_width="match_parent" - android:layout_height="45dp" - android:layout_alignParentTop="true" - app:centerText="淇敼瀵嗙爜" /> + 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 android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textColor="@color/grey" - - /> + android:layout_height="40dp" + android:gravity="bottom" + android:paddingLeft="20dp" + android:paddingBottom="3dp" + 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:background="@drawable/ic_blue_background" - android:gravity="center" - android:layout_marginRight="40dp" android:layout_marginLeft="40dp" android:layout_marginTop="100dp" + android:layout_marginRight="40dp" + android:background="@drawable/ic_blue_background" + android:gravity="center" android:text="淇� 鏀�" android:textColor="@color/white" android:textSize="@dimen/common_btn_text_size" /> - - - </LinearLayout> \ No newline at end of file -- Gitblit v1.8.0