From 6a44973461e2a91f62f7eed681b4db3abb026289 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 24 十二月 2024 16:52:23 +0800
Subject: [PATCH] 1.优化地图相关代码,提高运行效率和可读性。 2.添加修改密码功能。 3.优化列表和详情页展示。
---
app/src/main/res/layout/activity_change_pass_word.xml | 33 ++++++++++++++++++---------------
1 files changed, 18 insertions(+), 15 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..3387ea3 100644
--- a/app/src/main/res/layout/activity_change_pass_word.xml
+++ b/app/src/main/res/layout/activity_change_pass_word.xml
@@ -6,17 +6,16 @@
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:paddingLeft="20dp"
@@ -25,43 +24,47 @@
<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:paddingLeft="20dp"
android:paddingRight="20dp" />
<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:paddingLeft="20dp"
android:paddingRight="20dp" />
<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