From 71ac5ea208fb15da401b980fe788d03ed0f086b1 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 04 十二月 2024 09:56:14 +0800
Subject: [PATCH] 1.添加退出登录时判断是否开启巡检,开启巡检不可退出登录。 2.添加异常退出后恢复巡检记录的功能。 3.添加统一的提示Dialog

---
 app/src/main/res/layout/fragment_map.xml |   72 ++++++++++++++++++++++++++++++++---
 1 files changed, 65 insertions(+), 7 deletions(-)

diff --git a/app/src/main/res/layout/fragment_map.xml b/app/src/main/res/layout/fragment_map.xml
index 5e3491b..e51d0dc 100644
--- a/app/src/main/res/layout/fragment_map.xml
+++ b/app/src/main/res/layout/fragment_map.xml
@@ -3,28 +3,86 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent">
 
-    <com.github.lzyzsd.jsbridge.BridgeWebView
+    <!--    <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