supervision/modulecheck/src/main/res/layout/activity_check_register_car.xml

242 lines
10 KiB
XML
Raw Normal View History

2023-02-21 14:23:12 +08:00
<?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_car_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_car_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_car_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_car_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" />
<TextView
android:id="@+id/tv_car_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" />
<TextView
android:id="@+id/tv_car_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" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
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" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="车辆证件照"
android:padding="5dp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="5dp"
android:text="(请将货物来源证明也拍入其中)"
android:textColor="@color/colorRedBg"
android:textSize="12sp" />
</LinearLayout>
<ImageView
android:id="@+id/ic_car_cred"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:minHeight="150dp"
android:src="@drawable/ic_car_crad_default" />
<EditText
android:id="@+id/et_car_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="60dp"
android:padding="8dp"
android:textSize="@dimen/text_18" />
<EditText
android:id="@+id/et_car_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:text=""
android:textSize="@dimen/text_18" />
<Button
android:id="@+id/btn_car_add_car"
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" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:descendantFocusability="blocksDescendants">
<android.support.v7.widget.RecyclerView
android:id="@+id/rlv_car_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_car_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>