From 9c2908d8a110eaa28ec63a877291aeea61ee4e60 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期二, 03 十二月 2024 09:38:24 +0800
Subject: [PATCH] 优化自定义二次确认Dialog回调

---
 app/src/main/res/layout/fragment_map.xml |  111 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 107 insertions(+), 4 deletions(-)

diff --git a/app/src/main/res/layout/fragment_map.xml b/app/src/main/res/layout/fragment_map.xml
index e8e586f..e51d0dc 100644
--- a/app/src/main/res/layout/fragment_map.xml
+++ b/app/src/main/res/layout/fragment_map.xml
@@ -3,17 +3,120 @@
     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_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:id="@+id/bottomLL"
+        android:layout_width="match_parent"
+        android:layout_height="120dp"
         android:layout_alignParentBottom="true"
-        android:layout_centerHorizontal="true"
-        android:text="璺宠浆鍒版寚瀹氫綅缃�" />
+        android:background="@color/white"
+        android:orientation="horizontal"
+        android:visibility="gone">
+
+        <LinearLayout
+            android:layout_width="0dp"
+            android:layout_height="match_parent"
+            android:layout_weight="1"
+            android:gravity="center"
+            android:orientation="vertical"
+            android:padding="10dp">
+
+
+            <TextView
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:text="鍙栨按鍙�"
+                android:textColor="@color/black" />
+
+            <TextView
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginTop="5dp"
+                android:text="鍙栨按鍙d綅缃�"
+                android:textColor="@color/black" />
+
+
+        </LinearLayout>
+
+        <ImageView
+            android:layout_width="80dp"
+            android:layout_height="80dp"
+            android:layout_gravity="center"
+            android:layout_marginRight="20dp"
+            android:padding="10dp"
+            android:src="@drawable/ic_gps_navigation" />
+
+
+    </LinearLayout>
 </RelativeLayout>
\ No newline at end of file

--
Gitblit v1.8.0