159 lines
6.3 KiB
XML
159 lines
6.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
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_time"
|
||
|
style="@style/item_content" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout style="@style/item_white_vertical">
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
style="@style/item_title_vertical"
|
||
|
android:text="巡查内容" />
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tv_content"
|
||
|
style="@style/item_content_ver"
|
||
|
android:minLines="3" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout style="@style/item_white_vertical">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/item_title_vertical"
|
||
|
android:text="巡查结果" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:background="@drawable/shp_rectangle_gray"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tv_result"
|
||
|
style="@style/item_content_ver"
|
||
|
android:minLines="3" />
|
||
|
|
||
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
android:id="@+id/rlv_photos"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
tools:itemCount="1"
|
||
|
tools:listitem="@layout/item_show_photo_smail" />
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="90dp"
|
||
|
android:layout_height="70dp">
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:id="@+id/ll_video"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:layout_centerInParent="true"
|
||
|
android:layout_margin="5dp"
|
||
|
android:background="@drawable/shp_rectangle_gray"
|
||
|
android:gravity="center">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/iv_video"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent"
|
||
|
android:scaleType="fitXY" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/iv_play_video"
|
||
|
android:layout_width="30dp"
|
||
|
android:layout_height="30dp"
|
||
|
android:layout_centerInParent="true"
|
||
|
android:scaleType="fitXY"
|
||
|
tools:src="@drawable/picture_icon_video" />
|
||
|
</RelativeLayout>
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/iv_del_video"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentRight="true"
|
||
|
android:src="@drawable/ic_delete"
|
||
|
android:visibility="gone" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<LinearLayout style="@style/item_white_vertical">
|
||
|
|
||
|
<TextView
|
||
|
style="@style/item_title_vertical"
|
||
|
android:text="备注" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tv_remark"
|
||
|
style="@style/item_content_ver"
|
||
|
android:minLines="3" />
|
||
|
</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>
|