259 lines
11 KiB
XML
259 lines
11 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">
|
||
|
|
||
|
<ScrollView
|
||
|
android:id="@+id/sv_content"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginBottom="60dp"
|
||
|
android:scrollbars="none">
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/et_incident"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_marginTop="5dp"
|
||
|
android:layout_marginRight="10dp"
|
||
|
android:background="@drawable/shape_input_white_bg"
|
||
|
android:drawablePadding="10dp"
|
||
|
android:gravity="left"
|
||
|
android:hint="请输入进出事由"
|
||
|
android:minHeight="100dp"
|
||
|
android:padding="8dp"
|
||
|
android:textSize="@dimen/text_18" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="5dp"
|
||
|
android:background="@drawable/shape_input_white_bg"
|
||
|
android:orientation="horizontal"
|
||
|
android:padding="10dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1.3"
|
||
|
android:background="@color/white"
|
||
|
android:padding="5dp"
|
||
|
android:text="授权开始时间:"
|
||
|
android:textColor="@color/black"
|
||
|
android:textSize="@dimen/text_18" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tv_start_time"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="2"
|
||
|
android:background="@color/white"
|
||
|
android:hint="请选择开始时间"
|
||
|
android:padding="5dp"
|
||
|
android:textSize="@dimen/text_18"
|
||
|
tools:text="2018年11月12日24:22:22" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="5dp"
|
||
|
android:background="@drawable/shape_input_white_bg"
|
||
|
android:orientation="horizontal"
|
||
|
android:padding="10dp">
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1.3"
|
||
|
android:background="@color/white"
|
||
|
android:padding="5dp"
|
||
|
android:text="授权结束时间:"
|
||
|
android:textColor="@color/black"
|
||
|
android:textSize="@dimen/text_18" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tv_end_time"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="2"
|
||
|
android:background="@color/white"
|
||
|
android:hint="请选择结束时间"
|
||
|
android:padding="5dp"
|
||
|
android:textSize="@dimen/text_18"
|
||
|
tools:text="2018年11月12日24:22:22" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tv_lead_cop"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="5dp"
|
||
|
android:background="@drawable/shape_input_white_bg"
|
||
|
android:drawableRight="@android:drawable/arrow_down_float"
|
||
|
android:hint="请选择带领民警"
|
||
|
android:padding="10dp"
|
||
|
android:textColor="@color/black"
|
||
|
android:textSize="@dimen/text_18" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:gravity="center_vertical"
|
||
|
android:orientation="horizontal"
|
||
|
android:visibility="gone">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tv_type"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="5dp"
|
||
|
android:layout_weight="1"
|
||
|
android:background="@drawable/shape_input_white_bg"
|
||
|
android:drawableRight="@android:drawable/arrow_down_float"
|
||
|
android:hint="请选择登记类型"
|
||
|
android:padding="10dp"
|
||
|
android:textColor="@color/black"
|
||
|
android:textSize="@dimen/text_18"
|
||
|
android:visibility="gone" />
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content">
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/btn_add_car"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="5dp"
|
||
|
android:background="@drawable/sel_btn_submit"
|
||
|
android:minWidth="0dp"
|
||
|
android:minHeight="0dp"
|
||
|
android:paddingLeft="5dp"
|
||
|
android:paddingRight="5dp"
|
||
|
android:text="添加\n车辆"
|
||
|
android:textColor="@color/sel_btn_white_black"
|
||
|
android:visibility="gone"
|
||
|
tools:visibility="visible" />
|
||
|
|
||
|
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tv_field"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="5dp"
|
||
|
android:background="@drawable/shape_input_white_bg"
|
||
|
android:drawableRight="@android:drawable/arrow_down_float"
|
||
|
android:hint="请选择进入监区"
|
||
|
android:padding="10dp"
|
||
|
android:textColor="@color/black"
|
||
|
android:textSize="@dimen/text_18" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/et_carry"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="5dp"
|
||
|
android:background="@drawable/shape_input_white_bg"
|
||
|
android:drawablePadding="10dp"
|
||
|
android:gravity="left"
|
||
|
android:hint="请输入携带工具"
|
||
|
android:maxLines="1"
|
||
|
android:minHeight="50dp"
|
||
|
android:padding="8dp"
|
||
|
android:textSize="@dimen/text_18" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:hint="携带工具照片"
|
||
|
android:padding="5dp" />
|
||
|
|
||
|
<android.support.v7.widget.RecyclerView
|
||
|
android:id="@+id/rlv_tools_pic"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:hint="请上传进监人员与带领民警合照"
|
||
|
android:padding="5dp" />
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/iv_car_person_photo"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginTop="3dp"
|
||
|
android:minHeight="150dp"
|
||
|
android:src="@drawable/ic_car_person_default" />
|
||
|
|
||
|
<EditText
|
||
|
android:id="@+id/et_remark"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="5dp"
|
||
|
android:background="@drawable/shape_input_white_bg"
|
||
|
android:drawablePadding="10dp"
|
||
|
android:gravity="left"
|
||
|
android:minHeight="100dp"
|
||
|
android:padding="8dp"
|
||
|
android:textSize="@dimen/text_18" />
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/btn_add_person"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="10dp"
|
||
|
android:background="@drawable/sel_btn_submit"
|
||
|
android:minWidth="0dp"
|
||
|
android:minHeight="0dp"
|
||
|
android:padding="10dp"
|
||
|
android:paddingLeft="5dp"
|
||
|
android:paddingRight="5dp"
|
||
|
android:text="添加人员"
|
||
|
android:textColor="@color/sel_btn_white_black"
|
||
|
tools:visibility="visible" />
|
||
|
|
||
|
<RelativeLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:descendantFocusability="blocksDescendants">
|
||
|
|
||
|
<android.support.v7.widget.RecyclerView
|
||
|
android:id="@+id/rlv_person"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_margin="5dp"
|
||
|
android:minHeight="10dp" />
|
||
|
</RelativeLayout>
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|
||
|
|
||
|
<Button
|
||
|
android:id="@+id/btn_submit"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_alignParentBottom="true"
|
||
|
android:layout_marginLeft="10dp"
|
||
|
android:layout_marginRight="10dp"
|
||
|
android:layout_marginBottom="5dp"
|
||
|
android:background="@drawable/sel_btn_submit"
|
||
|
android:text="@string/submit"
|
||
|
android:textColor="@color/sel_btn_white_black"
|
||
|
android:textSize="@dimen/text_18" />
|
||
|
</RelativeLayout>
|