From 21e38bfe17d3077d7ab0e05ee065f59547536692 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 03 十二月 2024 10:33:19 +0800
Subject: [PATCH] 1.添加当前巡检状态的功能。 2.修复工单界面刷新已完成列表导致未完成列表数据被清除的bug
---
app/src/main/res/layout/fragment_map.xml | 83 ++++++++++++++++++++++++++++++++++-------
1 files changed, 69 insertions(+), 14 deletions(-)
diff --git a/app/src/main/res/layout/fragment_map.xml b/app/src/main/res/layout/fragment_map.xml
index 6bb6bf0..e51d0dc 100644
--- a/app/src/main/res/layout/fragment_map.xml
+++ b/app/src/main/res/layout/fragment_map.xml
@@ -3,31 +3,86 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
-<!-- <com.github.lzyzsd.jsbridge.BridgeWebView-->
-<!-- android:id="@+id/webView"-->
-<!-- android:layout_width="match_parent"-->
-<!-- android:layout_height="match_parent" />-->
- <WebView
- android:id="@+id/webView"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ <!-- <com.github.lzyzsd.jsbridge.BridgeWebView-->
+ <!-- android:id="@+id/webView"-->
+ <!-- android:layout_width="match_parent"-->
+ <!-- android:layout_height="match_parent" />-->
+ <WebView
+ android:id="@+id/webView"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+
+ <RelativeLayout
+ android:id="@+id/inspectRL"
+ android:layout_width="match_parent"
+ android:layout_height="35dp"
+ android:background="@color/base_blue">
+
+ <TextView
+ android:id="@+id/inspectPause"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="10dp"
+ android:background="@drawable/ic_blue_background"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ android:text="鏆傚仠"
+ android:textColor="@color/inspect_text_color_pause" />
+
+
+ <TextView
+ android:id="@+id/stateText"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_alignParentTop="true"
+ android:layout_centerHorizontal="true"
+ android:layout_centerVertical="true"
+
+ android:gravity="center"
+ android:text="宸插紑鍚贰妫�"
+ android:textColor="@color/white"
+ android:textSize="18sp" />
+
+ <TextView
+ android:id="@+id/inspectClose"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:layout_marginRight="10dp"
+ android:background="@drawable/ic_blue_background"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ android:text="缁撴潫"
+ android:textColor="@color/inspect_text_color_close" />
+ </RelativeLayout>
+
<TextView
- android:id="@+id/flyBtn"
+ android:id="@+id/inspectButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:text="璺宠浆鍒版寚瀹氫綅缃�" />
+ android:layout_alignParentRight="true"
+ android:layout_marginTop="60dp"
+ android:layout_marginRight="15dp"
+
+ android:background="@drawable/ic_blue_background"
+ android:padding="10dp"
+ android:text="宸�"
+ android:textColor="@color/white"
+ android:textSize="18sp" />
+
<LinearLayout
- android:visibility="gone"
android:id="@+id/bottomLL"
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_alignParentBottom="true"
android:background="@color/white"
- android:orientation="horizontal">
+ android:orientation="horizontal"
+ android:visibility="gone">
<LinearLayout
android:layout_width="0dp"
--
Gitblit v1.8.0