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 |   54 +++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 45 insertions(+), 9 deletions(-)

diff --git a/app/src/main/res/layout/fragment_map.xml b/app/src/main/res/layout/fragment_map.xml
index 73c122e..e51d0dc 100644
--- a/app/src/main/res/layout/fragment_map.xml
+++ b/app/src/main/res/layout/fragment_map.xml
@@ -13,17 +13,52 @@
         android:layout_height="match_parent" />
 
 
-
-    <TextView
-        android:id="@+id/stateText"
+    <RelativeLayout
+        android:id="@+id/inspectRL"
         android:layout_width="match_parent"
         android:layout_height="35dp"
-        android:layout_alignParentTop="true"
-        android:background="@color/base_blue"
-        android:gravity="center"
-        android:text="宸插紑鍚贰妫�"
-        android:textColor="@color/white"
-        android:textSize="18sp" />
+        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/inspectButton"
@@ -32,6 +67,7 @@
         android:layout_alignParentRight="true"
         android:layout_marginTop="60dp"
         android:layout_marginRight="15dp"
+
         android:background="@drawable/ic_blue_background"
         android:padding="10dp"
         android:text="宸�"

--
Gitblit v1.8.0