From be9bea2335d4e4617844a1603aa624098c84b2a2 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 15 十月 2024 13:55:00 +0800
Subject: [PATCH] 1、退出登录 2.显示当前版本号 3.删除缓存 4.地图相关

---
 app/src/main/res/layout/fragment_my.xml |   88 ++++++++++++++++++++++++++++++-------------
 1 files changed, 61 insertions(+), 27 deletions(-)

diff --git a/app/src/main/res/layout/fragment_my.xml b/app/src/main/res/layout/fragment_my.xml
index 4637efb..25baa94 100644
--- a/app/src/main/res/layout/fragment_my.xml
+++ b/app/src/main/res/layout/fragment_my.xml
@@ -98,37 +98,12 @@
             android:src="@drawable/ic_right" />
     </RelativeLayout>
 
-    <RelativeLayout
-        android:id="@+id/versionRL"
-        android:layout_width="match_parent"
-        android:layout_height="@dimen/item_height"
-        android:layout_below="@+id/headRL"
-        android:layout_marginTop="1dp">
-
-        <TextView
-            android:layout_width="match_parent"
-            android:layout_height="@dimen/item_height"
-            android:background="@color/white"
-            android:gravity="center_vertical"
-            android:paddingLeft="30dp"
-            android:text="褰撳墠鐗堟湰"
-            android:textColor="@color/black"
-            android:textSize="@dimen/my_item_text_size" />
-
-        <ImageView
-            android:layout_width="25dp"
-            android:layout_height="25dp"
-            android:layout_alignParentRight="true"
-            android:layout_centerVertical="true"
-            android:layout_marginRight="15dp"
-            android:src="@drawable/ic_right" />
-    </RelativeLayout>
 
     <RelativeLayout
         android:id="@+id/passwordRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
-        android:layout_below="@+id/versionRL"
+        android:layout_below="@+id/headRL"
         android:layout_marginTop="1dp">
 
         <TextView
@@ -153,10 +128,36 @@
     </RelativeLayout>
 
     <RelativeLayout
-        android:id="@+id/loginOutRL"
+        android:id="@+id/cleanDataRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
         android:layout_below="@+id/passwordRL"
+        android:layout_marginTop="1dp">
+
+        <TextView
+            android:id="@+id/cleanData"
+            android:layout_width="match_parent"
+            android:layout_height="@dimen/item_height"
+            android:background="@color/white"
+            android:gravity="center_vertical"
+            android:paddingLeft="30dp"
+            android:text="娓呴櫎缂撳瓨"
+            android:textColor="@color/black"
+            android:textSize="@dimen/my_item_text_size" />
+
+        <ImageView
+            android:layout_width="25dp"
+            android:layout_height="25dp"
+            android:layout_alignParentRight="true"
+            android:layout_centerVertical="true"
+            android:layout_marginRight="15dp"
+            android:src="@drawable/ic_right" />
+    </RelativeLayout>
+    <RelativeLayout
+        android:id="@+id/loginOutRL"
+        android:layout_width="match_parent"
+        android:layout_height="@dimen/item_height"
+        android:layout_below="@+id/cleanDataRL"
         android:layout_marginTop="1dp">
 
         <TextView
@@ -171,6 +172,7 @@
             android:textSize="@dimen/my_item_text_size" />
 
         <ImageView
+            android:id="@+id/loginOutBtn"
             android:layout_width="25dp"
             android:layout_height="25dp"
             android:layout_alignParentRight="true"
@@ -178,5 +180,37 @@
             android:layout_marginRight="15dp"
             android:src="@drawable/ic_right" />
     </RelativeLayout>
+    <RelativeLayout
+        android:id="@+id/versionRL"
+        android:layout_width="match_parent"
+        android:layout_height="@dimen/item_height"
+        android:layout_below="@+id/loginOutRL"
+        android:layout_marginTop="1dp">
+
+        <TextView
+            android:layout_width="match_parent"
+            android:layout_height="@dimen/item_height"
+            android:background="@color/white"
+            android:gravity="center_vertical"
+            android:paddingLeft="30dp"
+            android:text="褰撳墠鐗堟湰"
+            android:textColor="@color/black"
+            android:textSize="@dimen/my_item_text_size" />
+
+
+
+        <TextView
+            android:id="@+id/versionText"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_alignParentRight="true"
+            android:layout_centerVertical="true"
+            android:layout_marginRight="25dp"
+            android:text="v1.0"
+            android:textColor="@color/text_color"
+            android:textSize="15sp" />
+    </RelativeLayout>
+
+
 
 </RelativeLayout>
\ No newline at end of file

--
Gitblit v1.8.0