From 986648a7fc5d377d5c100ba41350e6313dcf6e5b Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 21 二月 2025 17:04:29 +0800 Subject: [PATCH] 1.优化我的界面的更新本地数据功能添加loding 2.优化巡检详情页面增大放大级别 3.优化我的界面的更新本地数据功能所有接口都结束后显示数据更新成功 --- app/src/main/res/layout/fragment_my.xml | 71 +++++++++++++++++++++++++++++------ 1 files changed, 59 insertions(+), 12 deletions(-) diff --git a/app/src/main/res/layout/fragment_my.xml b/app/src/main/res/layout/fragment_my.xml index 731f974..de9e5b5 100644 --- a/app/src/main/res/layout/fragment_my.xml +++ b/app/src/main/res/layout/fragment_my.xml @@ -7,16 +7,15 @@ android:background="@color/bg_color"> - <TextView android:id="@+id/title" android:layout_width="match_parent" + android:layout_height="@dimen/title_height" android:background="@color/title_color" - android:textSize="@dimen/title_center_text_size" android:gravity="center" android:text="鎴戠殑" android:textColor="@color/white" - android:layout_height="@dimen/title_height"/> + android:textSize="@dimen/title_center_text_size" /> <View @@ -71,7 +70,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" - android:text="18311594524" + android:text="" android:textColor="@color/grey" /> </LinearLayout> @@ -80,7 +79,7 @@ <RelativeLayout - android:id="@+id/headRL" + android:id="@+id/issueListRL" android:layout_width="match_parent" android:layout_height="@dimen/item_height" android:layout_below="@+id/headRL_top"> @@ -88,11 +87,35 @@ <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: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/inspectListRL" + android:layout_width="match_parent" + android:layout_height="@dimen/item_height" + 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="宸℃璁板綍" + android:layout_marginTop="1dp" android:textColor="@color/black" android:textSize="@dimen/my_item_text_size" /> @@ -105,12 +128,11 @@ 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/headRL" + android:layout_below="@+id/inspectListRL" android:layout_marginTop="1dp"> <TextView @@ -133,12 +155,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 @@ -160,6 +207,7 @@ android:layout_marginRight="15dp" android:src="@drawable/ic_right" /> </RelativeLayout> + <RelativeLayout android:id="@+id/loginOutRL" android:layout_width="match_parent" @@ -187,6 +235,7 @@ android:layout_marginRight="15dp" android:src="@drawable/ic_right" /> </RelativeLayout> + <RelativeLayout android:id="@+id/versionRL" android:layout_width="match_parent" @@ -205,7 +254,6 @@ android:textSize="@dimen/my_item_text_size" /> - <TextView android:id="@+id/versionText" android:layout_width="wrap_content" @@ -217,7 +265,6 @@ android:textColor="@color/text_color" android:textSize="15sp" /> </RelativeLayout> - </RelativeLayout> \ No newline at end of file -- Gitblit v1.8.0