From bc0643f42cc19cfa1153f355851968e5486281ef Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 16 十月 2024 11:29:18 +0800
Subject: [PATCH] 地图添加比例尺
---
app/src/main/res/layout/fragment_map.xml | 77 +++++++++++++++++++++++++++++++++++++-
1 files changed, 75 insertions(+), 2 deletions(-)
diff --git a/app/src/main/res/layout/fragment_map.xml b/app/src/main/res/layout/fragment_map.xml
index e8e586f..75471b7 100644
--- a/app/src/main/res/layout/fragment_map.xml
+++ b/app/src/main/res/layout/fragment_map.xml
@@ -3,11 +3,14 @@
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" />
-
<TextView
android:id="@+id/flyBtn"
@@ -16,4 +19,74 @@
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:text="璺宠浆鍒版寚瀹氫綅缃�" />
+
+ <TextView
+ android:id="@+id/stateText"
+ 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" />
+
+ <TextView
+ 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: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