From 3df944d30530be8dc0ea1cbe1ed4afc22eb160a5 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期四, 06 二月 2025 11:09:48 +0800
Subject: [PATCH] 1.添加数据更新功能,确保本地没有数据时再获取基础数据 2.地图界面上添加滚动功能的控件(部分功能)

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

diff --git a/app/src/main/res/layout/fragment_my.xml b/app/src/main/res/layout/fragment_my.xml
index 636d209..6478c63 100644
--- a/app/src/main/res/layout/fragment_my.xml
+++ b/app/src/main/res/layout/fragment_my.xml
@@ -131,12 +131,37 @@
             android:layout_marginRight="15dp"
             android:src="@drawable/ic_right" />
     </RelativeLayout>
+    <RelativeLayout
+        android:id="@+id/refreshDataRL"
+        android:layout_width="match_parent"
+        android:layout_height="@dimen/item_height"
+        android:layout_below="@+id/passwordRL"
+        android:layout_marginTop="1dp">
 
+        <TextView
+            android:id="@+id/refreshDataTV"
+            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/cleanDataRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
-        android:layout_below="@+id/passwordRL"
+        android:layout_below="@+id/refreshDataRL"
         android:layout_marginTop="1dp">
 
         <TextView

--
Gitblit v1.8.0