242 lines
8.0 KiB
XML
242 lines
8.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_base_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@drawable/shape_blue_bg"
|
|
android:orientation="vertical"
|
|
android:padding="20dp">
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/ll_base_info"
|
|
android:layout_marginTop="-20dp"
|
|
android:layout_marginBottom="48dp"
|
|
android:background="@drawable/shape_rectangle_white_top">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/nsv_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="20dp"
|
|
android:scrollbars="none">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="部件名称" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_name"
|
|
style="@style/item_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="分类" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_type"
|
|
style="@style/item_content" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="所在网格" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_grid_id"
|
|
style="@style/item_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="数据来源" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_data_source"
|
|
style="@style/item_content" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="主管部门" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_dept_1"
|
|
style="@style/item_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="权属单位" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_dept_2"
|
|
style="@style/item_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="养护单位" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_dept_3"
|
|
style="@style/item_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="部件状态" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_state"
|
|
style="@style/item_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="详细地址" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_address"
|
|
style="@style/item_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_gray_vertical_top">
|
|
|
|
<com.baidu.mapapi.map.TextureMapView
|
|
android:id="@+id/tmv_map"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="200dp" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white_vertical">
|
|
|
|
<TextView
|
|
style="@style/item_title_vertical"
|
|
android:text="部件图片" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_photo_hint"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:padding="20dp"
|
|
android:text="未上传"
|
|
android:textColor="@color/black" />
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rlv_photos"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<ImageView
|
|
style="@style/style_hint_star"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
style="@style/item_title"
|
|
android:text="备注" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_remark"
|
|
style="@style/item_content" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/btn_del"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="@drawable/sel_btn_gray_red"
|
|
android:minHeight="0dp"
|
|
android:padding="10dp"
|
|
android:text="删    除"
|
|
android:textColor="@color/text_20"
|
|
android:textSize="17sp" />
|
|
</RelativeLayout> |