From b3e7f379e72111f55a28c302804702ee7c66bfa2 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期六, 18 一月 2025 16:39:16 +0800 Subject: [PATCH] 1.管网的js相关代码 --- app/src/main/res/layout/fragment_map.xml | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 52 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/fragment_map.xml b/app/src/main/res/layout/fragment_map.xml index a897113..715b846 100644 --- a/app/src/main/res/layout/fragment_map.xml +++ b/app/src/main/res/layout/fragment_map.xml @@ -11,8 +11,7 @@ <RelativeLayout android:id="@+id/webViewRL" android:layout_width="match_parent" - android:layout_height="match_parent" - > + android:layout_height="match_parent"> <WebView @@ -272,6 +271,57 @@ android:src="@drawable/ic_edit_btn" /> </LinearLayout> + + <LinearLayout + android:id="@+id/headerLL" + android:layout_width="match_parent" + android:layout_height="25dp" + android:gravity="center" + android:orientation="horizontal"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="璐熻矗浜猴細" + android:textColor="@color/black" + android:textSize="@dimen/common_text_size_little" /> + + <TextView + android:id="@+id/header" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ellipsize="end" + android:maxLines="1" + android:text="" + android:textColor="@color/black" + android:textSize="@dimen/common_text_size_little" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/phoneLL" + android:layout_width="match_parent" + android:layout_height="25dp" + android:gravity="center" + android:orientation="horizontal"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鑱旂郴鐢佃瘽锛�" + android:textColor="@color/black" + android:textSize="@dimen/common_text_size_little" /> + + <TextView + android:id="@+id/phone" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:ellipsize="end" + android:maxLines="1" + android:text="" + android:textColor="@color/black" + android:textSize="@dimen/common_text_size_little" /> + </LinearLayout> + <LinearLayout android:layout_width="match_parent" android:layout_height="25dp" @@ -296,7 +346,6 @@ android:textColor="@color/black" android:textSize="@dimen/common_text_size_little" /> </LinearLayout> - </LinearLayout> </ScrollView> -- Gitblit v1.8.0