205 lines
8.0 KiB
XML
205 lines
8.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<LinearLayout 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:orientation="vertical">
|
||
|
||
<include layout="@layout/common_toolbar"></include>
|
||
|
||
<androidx.core.widget.NestedScrollView
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1"
|
||
android:fillViewport="true">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="vertical">
|
||
|
||
<androidx.recyclerview.widget.RecyclerView
|
||
android:id="@+id/recycler"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="@dimen/dp_15"
|
||
android:layout_marginTop="@dimen/dp_13"
|
||
android:layout_marginRight="@dimen/dp_15"
|
||
android:background="@drawable/shape_white_8"
|
||
android:paddingTop="@dimen/dp_15"
|
||
android:paddingBottom="@dimen/dp_15" />
|
||
|
||
|
||
<LinearLayout
|
||
android:id="@+id/llGoods"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="@dimen/dp_15"
|
||
android:layout_marginTop="@dimen/dp_13"
|
||
android:layout_marginRight="@dimen/dp_15"
|
||
android:background="@drawable/shape_white_8"
|
||
android:orientation="horizontal"
|
||
android:paddingLeft="@dimen/dp_14"
|
||
android:paddingTop="@dimen/dp_16"
|
||
android:paddingRight="@dimen/dp_14"
|
||
android:paddingBottom="@dimen/dp_16">
|
||
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1"
|
||
android:drawableLeft="@drawable/start"
|
||
android:text="货物信息"
|
||
android:textColor="@color/black"
|
||
android:textSize="@dimen/sp_16" />
|
||
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:text="螺纹钢,钢铁,40吨"
|
||
android:textColor="@color/black"
|
||
android:textSize="@dimen/sp_16" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:id="@+id/llCarType"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="@dimen/dp_15"
|
||
android:layout_marginTop="@dimen/dp_13"
|
||
android:layout_marginRight="@dimen/dp_15"
|
||
android:background="@drawable/shape_white_8"
|
||
android:orientation="horizontal"
|
||
android:paddingLeft="@dimen/dp_14"
|
||
android:paddingTop="@dimen/dp_16"
|
||
android:paddingRight="@dimen/dp_14"
|
||
android:paddingBottom="@dimen/dp_16">
|
||
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1"
|
||
android:drawableLeft="@drawable/start"
|
||
android:text="用车信息"
|
||
android:textColor="@color/black"
|
||
android:textSize="@dimen/sp_16" />
|
||
|
||
|
||
<TextView
|
||
android:id="@+id/tvCarType"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:hint="请选择用车信息"
|
||
android:textColor="#FF4A02"
|
||
android:textSize="@dimen/sp_16"
|
||
tools:text="16米,厢式" />
|
||
</LinearLayout>
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="@dimen/dp_15"
|
||
android:layout_marginTop="@dimen/dp_13"
|
||
android:layout_marginRight="@dimen/dp_15"
|
||
android:background="@drawable/shape_white_8"
|
||
android:orientation="vertical"
|
||
android:paddingLeft="@dimen/dp_14"
|
||
android:paddingTop="@dimen/dp_16"
|
||
android:paddingRight="@dimen/dp_14"
|
||
android:paddingBottom="@dimen/dp_16">
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:orientation="horizontal">
|
||
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1"
|
||
android:drawableLeft="@drawable/start"
|
||
android:text="装货时间"
|
||
android:textColor="@color/black"
|
||
android:textSize="@dimen/sp_16" />
|
||
|
||
|
||
<TextView
|
||
android:gravity="right"
|
||
android:hint="请选择装货时间"
|
||
android:id="@+id/tvDate"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
tools:text="明天上午 06:00-12:00"
|
||
android:textColor="#FF4A02"
|
||
android:textSize="@dimen/sp_16" />
|
||
</LinearLayout>
|
||
|
||
<View
|
||
android:layout_width="match_parent"
|
||
android:layout_height="@dimen/dp_1"
|
||
android:layout_marginTop="@dimen/dp_16"
|
||
android:background="@color/color_E1" />
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginTop="@dimen/dp_16"
|
||
android:orientation="horizontal">
|
||
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1"
|
||
android:drawableLeft="@drawable/start"
|
||
android:text="运费"
|
||
android:textColor="@color/black"
|
||
android:textSize="@dimen/sp_16" />
|
||
|
||
|
||
<EditText
|
||
android:gravity="right"
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
tools:text="5000元"
|
||
android:inputType="numberDecimal"
|
||
android:hint="请输入运费金额"
|
||
android:background="@null"
|
||
android:textColor="#FF4A02"
|
||
android:textSize="@dimen/sp_16" />
|
||
</LinearLayout>
|
||
|
||
</LinearLayout>
|
||
|
||
|
||
</LinearLayout>
|
||
|
||
|
||
</androidx.core.widget.NestedScrollView>
|
||
|
||
<LinearLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="@dimen/dp_70"
|
||
android:layout_marginTop="@dimen/dp_10"
|
||
android:background="@color/white"
|
||
android:gravity="center"
|
||
android:paddingLeft="@dimen/dp_15"
|
||
android:paddingRight="@dimen/dp_15">
|
||
|
||
<Button
|
||
android:id="@+id/btnOk"
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:background="@drawable/bg_btn"
|
||
android:text="立即发货"
|
||
android:textColor="@color/white"
|
||
android:textSize="@dimen/sp_17">
|
||
|
||
</Button>
|
||
|
||
</LinearLayout>
|
||
</LinearLayout> |