From 092bf21368ea824e9dc22467166960219165dc00 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期五, 21 二月 2025 17:32:59 +0800
Subject: [PATCH] 1.我的界面每个item添加点击效果。 2.更新本地数据添加二次确认。

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

diff --git a/app/src/main/res/layout/fragment_my.xml b/app/src/main/res/layout/fragment_my.xml
index de9e5b5..7b15501 100644
--- a/app/src/main/res/layout/fragment_my.xml
+++ b/app/src/main/res/layout/fragment_my.xml
@@ -82,12 +82,13 @@
         android:id="@+id/issueListRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
+        android:background="@drawable/my_item_ripple"
         android:layout_below="@+id/headRL_top">
 
         <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="闂鍒楄〃"
@@ -106,12 +107,13 @@
         android:id="@+id/inspectListRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
+        android:layout_marginTop="1dp"
+        android:background="@drawable/my_item_ripple"
         android:layout_below="@+id/issueListRL">
 
         <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="宸℃璁板綍"
@@ -129,9 +131,10 @@
     </RelativeLayout>
 
     <RelativeLayout
-        android:id="@+id/passwordRL"
+        android:id="@+id/changePSRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
+        android:background="@drawable/my_item_ripple"
         android:layout_below="@+id/inspectListRL"
         android:layout_marginTop="1dp">
 
@@ -159,14 +162,14 @@
         android:id="@+id/refreshDataRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
-        android:layout_below="@+id/passwordRL"
+        android:background="@drawable/my_item_ripple"
+        android:layout_below="@+id/changePSRL"
         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="鏇存柊鏈湴鏁版嵁"
@@ -185,6 +188,7 @@
         android:id="@+id/cleanDataRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
+        android:background="@drawable/my_item_ripple"
         android:layout_below="@+id/refreshDataRL"
         android:layout_marginTop="1dp">
 
@@ -192,7 +196,6 @@
             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="娓呴櫎缂撳瓨"
@@ -212,6 +215,7 @@
         android:id="@+id/loginOutRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
+        android:background="@drawable/my_item_ripple"
         android:layout_below="@+id/cleanDataRL"
         android:layout_marginTop="1dp">
 
@@ -219,7 +223,6 @@
             android:layout_width="match_parent"
             android:layout_height="@dimen/item_height"
 
-            android:background="@color/white"
             android:gravity="center_vertical"
             android:paddingLeft="30dp"
             android:text="閫�鍑虹櫥褰�"
@@ -240,13 +243,13 @@
         android:id="@+id/versionRL"
         android:layout_width="match_parent"
         android:layout_height="@dimen/item_height"
+        android:background="@drawable/my_item_ripple"
         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="褰撳墠鐗堟湰"

--
Gitblit v1.8.0