443 lines
21 KiB
XML
443 lines
21 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/activity_invoice"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/bg_theme"
|
|
android:orientation="vertical">
|
|
<include layout="@layout/common_toolbar" />
|
|
<!-- <include layout="@layout/assembly_title_block" />-->
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
>
|
|
<com.oneclouds.cargo.util.view.BaseRecyclerView
|
|
android:id="@+id/rv"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:layout_marginRight="@dimen/dp_10"
|
|
android:layout_weight="1"
|
|
android:overScrollMode="never"
|
|
></com.oneclouds.cargo.util.view.BaseRecyclerView>
|
|
<LinearLayout
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:layout_marginRight="@dimen/dp_10"
|
|
android:layout_marginTop="@dimen/dp_9"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/shape_w_bg8"
|
|
android:paddingLeft="@dimen/dp_12"
|
|
android:paddingRight="@dimen/dp_12"
|
|
android:paddingTop="@dimen/dp_8"
|
|
|
|
android:elevation="@dimen/dp_1">
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/r2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_49"
|
|
android:gravity="center_vertical"
|
|
>
|
|
|
|
<ImageView
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/icon_home_vehicletype" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_24"
|
|
android:text="熟车"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14" />
|
|
<LinearLayout
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:id="@+id/etCar"
|
|
android:layout_width="@dimen/dp_160"
|
|
android:layout_height="match_parent"
|
|
android:hint="选择车牌/手机号搜索"
|
|
android:gravity="right|center_vertical"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:textColorHint="#ffc7c7c7"
|
|
android:textSize="@dimen/sp_14"
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
android:background="@null"
|
|
/>
|
|
<ImageButton
|
|
android:layout_width="@dimen/dp_7"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:src="@mipmap/chevron2"
|
|
android:scaleType="fitXY"
|
|
android:background="@null"
|
|
android:layout_gravity="center"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#8AA5E1"
|
|
android:alpha="0.5"/>
|
|
<RelativeLayout
|
|
android:id="@+id/r3"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/dp_12"
|
|
android:paddingBottom="@dimen/dp_12">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/icon_home_vehicletype" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_24"
|
|
android:text="车型"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14" />
|
|
<LinearLayout
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_marginRight="@dimen/dp_12"
|
|
android:id="@+id/vehicle_type"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14"
|
|
/>
|
|
<ImageButton
|
|
android:layout_width="@dimen/dp_7"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:src="@mipmap/chevron2"
|
|
android:scaleType="fitXY"
|
|
android:background="@null"
|
|
android:layout_gravity="center"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#8AA5E1"
|
|
android:alpha="0.5"/>
|
|
<RelativeLayout
|
|
android:id="@+id/r31"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/dp_12"
|
|
android:paddingBottom="@dimen/dp_12">
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/icon_home_vehicletype"/>
|
|
<TextView
|
|
android:layout_marginLeft="@dimen/dp_24"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="车长"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14"
|
|
android:layout_centerVertical="true"
|
|
/>
|
|
<LinearLayout
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_marginRight="@dimen/dp_12"
|
|
android:id="@+id/vehicle_length"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14"
|
|
/>
|
|
<ImageButton
|
|
android:layout_width="@dimen/dp_7"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:src="@mipmap/chevron2"
|
|
android:scaleType="fitXY"
|
|
android:background="@null"
|
|
android:layout_gravity="center"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#8AA5E1"
|
|
android:alpha="0.5"/>
|
|
<RelativeLayout
|
|
android:id="@+id/r4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/dp_12"
|
|
android:paddingBottom="@dimen/dp_12">
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/icon_home_businesstype"/>
|
|
<TextView
|
|
android:layout_marginLeft="@dimen/dp_24"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="业务类型"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14"
|
|
android:layout_centerVertical="true"
|
|
/>
|
|
<LinearLayout
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_marginRight="@dimen/dp_12"
|
|
android:id="@+id/businessType"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14"
|
|
/>
|
|
<ImageButton
|
|
android:layout_width="@dimen/dp_7"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:src="@mipmap/chevron2"
|
|
android:scaleType="fitXY"
|
|
android:background="@null"
|
|
android:layout_gravity="center"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#8AA5E1"
|
|
android:alpha="0.5"/>
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/r7"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/dp_12"
|
|
android:paddingBottom="@dimen/dp_12">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/icon_home_businesstype" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_24"
|
|
android:text="货物大类(交通厅)"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/tvHwdlJt"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="@dimen/dp_12"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14" />
|
|
|
|
<ImageButton
|
|
android:layout_width="@dimen/dp_7"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:layout_gravity="center"
|
|
android:background="@null"
|
|
android:scaleType="fitXY"
|
|
android:src="@mipmap/chevron2" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#8AA5E1"
|
|
android:alpha="0.5"/>
|
|
<RelativeLayout
|
|
android:id="@+id/r8"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/dp_12"
|
|
android:paddingBottom="@dimen/dp_12">
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/icon_home_businesstype"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_24"
|
|
android:text="货物大类(安联)"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14" />
|
|
<LinearLayout
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_marginRight="@dimen/dp_12"
|
|
android:id="@+id/tvHwdlAl"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14"
|
|
/>
|
|
<ImageButton
|
|
android:layout_width="@dimen/dp_7"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:src="@mipmap/chevron2"
|
|
android:scaleType="fitXY"
|
|
android:background="@null"
|
|
android:layout_gravity="center"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#8AA5E1"
|
|
android:alpha="0.5"/>
|
|
<RelativeLayout
|
|
android:id="@+id/r5"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/dp_12"
|
|
android:paddingBottom="@dimen/dp_12">
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_24"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:src="@mipmap/icon_home_time"/>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_24"
|
|
android:text="订单有效期"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14" />
|
|
<LinearLayout
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_marginRight="@dimen/dp_12"
|
|
android:id="@+id/effectiveTime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14"
|
|
/>
|
|
<ImageButton
|
|
android:layout_width="@dimen/dp_7"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:src="@mipmap/chevron2"
|
|
android:scaleType="fitXY"
|
|
android:background="@null"
|
|
android:layout_gravity="center"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<View
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#8AA5E1"
|
|
android:alpha="0.5"/>
|
|
<RelativeLayout
|
|
android:id="@+id/r6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingTop="@dimen/dp_12"
|
|
android:paddingBottom="@dimen/dp_12"
|
|
android:visibility="gone">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="是否购买货物险"
|
|
android:textColor="#666666"
|
|
android:textSize="@dimen/sp_14"
|
|
android:layout_centerVertical="true"
|
|
/>
|
|
<ImageButton
|
|
android:layout_alignParentRight="true"
|
|
android:id="@+id/isGoods"
|
|
android:layout_width="@dimen/dp_18"
|
|
android:layout_height="@dimen/dp_18"
|
|
android:src="@mipmap/icon_no"
|
|
android:scaleType="fitXY"
|
|
android:background="@null"
|
|
android:layout_centerVertical="true"
|
|
/>
|
|
</RelativeLayout>
|
|
|
|
<EditText
|
|
android:visibility="gone"
|
|
android:id="@+id/requirement"
|
|
android:paddingTop="@dimen/dp_8"
|
|
android:paddingBottom="@dimen/dp_8"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="left|top"
|
|
android:minHeight="@dimen/dp_60"
|
|
android:hint="添加备注信息(选填)"
|
|
android:textColorHint="#ffc7c7c7"
|
|
android:textSize="@dimen/sp_14"
|
|
android:background="@null"
|
|
/>
|
|
</LinearLayout>
|
|
<Button
|
|
android:id="@+id/submit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_42"
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:layout_marginTop="@dimen/dp_8"
|
|
android:layout_marginRight="@dimen/dp_10"
|
|
android:layout_marginBottom="@dimen/dp_12"
|
|
android:background="@drawable/bg_btn"
|
|
android:text="确定"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_14" />
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
|
|
|
|
|
|
</LinearLayout> |