From e5a090685df3d5e96a37b141d9a1d002d36f16f2 Mon Sep 17 00:00:00 2001 From: zuoxiao <470321431@qq.com> Date: 星期五, 14 二月 2025 16:53:43 +0800 Subject: [PATCH] 1.web地图添加管网显示。 2.安卓原生添加管网信息的获取。 3.安卓原生添加管网信息的本地持久化(SQLite数据库)。 4.实现图例用户的选择状态按钮的持久化。 5.实现自定义搜索按钮的实现。 6.实现搜索后弹出界面的相关功能开发。 --- app/src/main/res/layout/item_image.xml | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/item_image.xml b/app/src/main/res/layout/item_image.xml index 2e11ae1..f0fd6b5 100644 --- a/app/src/main/res/layout/item_image.xml +++ b/app/src/main/res/layout/item_image.xml @@ -3,12 +3,22 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="8dp" + android:layout_gravity="center" android:elevation="4dp"> <ImageView android:id="@+id/thumbnailImageView" - android:layout_width="100dp" - android:layout_height="100dp" - android:scaleType="centerCrop"/> + android:layout_width="match_parent" + android:layout_height="match_parent" + android:scaleType="centerCrop" /> + + <ImageView + android:id="@+id/item_play" + android:layout_width="30dp" + android:layout_height="30dp" + android:layout_gravity="center" + android:src="@drawable/play"/> + + </androidx.cardview.widget.CardView> \ No newline at end of file -- Gitblit v1.8.0