485 lines
20 KiB
XML
485 lines
20 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/huoyuan_xq"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="#fff"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/theme_color"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/dp_20">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_68">
|
|
|
|
<ImageButton
|
|
android:id="@+id/return_btn"
|
|
android:layout_width="@dimen/dp_21"
|
|
android:layout_height="@dimen/dp_18"
|
|
android:layout_marginLeft="@dimen/dp_38"
|
|
android:background="@null"
|
|
android:scaleType="fitXY"
|
|
android:src="@mipmap/return_btn" />
|
|
|
|
<ImageButton
|
|
android:layout_width="@dimen/dp_18"
|
|
android:layout_height="@dimen/dp_18"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="@dimen/dp_38"
|
|
android:background="@null"
|
|
android:scaleType="fitXY"
|
|
android:src="@mipmap/share2"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_8">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_38"
|
|
android:text="货源详情"
|
|
android:textColor="#fff"
|
|
android:textSize="@dimen/sp_23" />
|
|
|
|
<TextView
|
|
android:id="@+id/huozhu"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginTop="@dimen/dp_11"
|
|
android:layout_marginRight="@dimen/dp_37"
|
|
android:text="联系货主"
|
|
android:textColor="#fff"
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginTop="@dimen/dp_11"
|
|
android:layout_marginRight="@dimen/dp_37"
|
|
android:text="拒绝"
|
|
android:textColor="#fff"
|
|
android:textSize="@dimen/sp_15"
|
|
android:visibility="gone" />
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_38"
|
|
android:layout_marginTop="@dimen/dp_38"
|
|
android:layout_marginRight="@dimen/dp_38"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_gravity="center"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/totalFreight"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="****"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_40" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/cb"
|
|
android:layout_width="@dimen/dp_30"
|
|
android:layout_height="@dimen/dp_30"
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:layout_marginTop="@dimen/dp_3"
|
|
android:button="@null"
|
|
android:checked="false"
|
|
android:drawableStart="@drawable/select_eye"
|
|
android:gravity="center">
|
|
|
|
</CheckBox>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="净赚运费(元)"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:layout_marginTop="@dimen/dp_16"
|
|
android:background="#EFEFEF" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_28"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="@dimen/dp_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
android:text="预估里程(km)"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
|
|
<TextView
|
|
android:id="@+id/distance"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="@dimen/dp_5"
|
|
android:text="3680"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="@dimen/dp_1"
|
|
android:layout_height="wrap_content"
|
|
android:background="#EFEFEF" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="@dimen/dp_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
android:text="装卸次数(次)"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
|
|
<TextView
|
|
android:id="@+id/sendPutString"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="@dimen/dp_5"
|
|
android:text="3680"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#EFEFEF" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_28"
|
|
android:orientation="horizontal">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="@dimen/dp_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
android:text="截止时间"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
|
|
<TextView
|
|
android:id="@+id/effectiveTime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="@dimen/dp_5"
|
|
android:text="3680"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
android:layout_width="@dimen/dp_1"
|
|
android:layout_height="wrap_content"
|
|
android:background="#EFEFEF" />
|
|
|
|
<RelativeLayout
|
|
android:layout_width="@dimen/dp_0"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
android:text="车型要求"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
|
|
<TextView
|
|
android:id="@+id/vehicleType"
|
|
android:layout_width="@dimen/dp_80"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="@dimen/dp_5"
|
|
android:ellipsize="end"
|
|
android:gravity="right"
|
|
android:maxLines="1"
|
|
android:text="3680"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#EFEFEF" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_28"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
android:text="运输要求:"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
|
|
<TextView
|
|
android:id="@+id/requirement"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_7"
|
|
android:layout_marginRight="@dimen/dp_5"
|
|
android:text=""
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_12" />
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="#EFEFEF" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/bg_bai"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_39"
|
|
android:layout_marginTop="@dimen/dp_17"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="货源单号:"
|
|
android:textColor="#333333"
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
<TextView
|
|
android:id="@+id/orderNum"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="无"
|
|
android:textColor="#333333"
|
|
android:textSize="@dimen/sp_13" />
|
|
</LinearLayout>
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_15"
|
|
android:layout_marginTop="@dimen/dp_15"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:cardBackgroundColor="#fff"
|
|
app:cardCornerRadius="@dimen/dp_14"
|
|
app:cardElevation="@dimen/dp_0">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<com.arpa.hndahesudintocctmsdriver.util.view.BaseRecyclerView
|
|
android:id="@+id/zhuang_rv1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<com.arpa.hndahesudintocctmsdriver.util.view.BaseRecyclerView
|
|
android:id="@+id/zhuang_rv2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_17">
|
|
|
|
<TextView
|
|
android:id="@+id/car"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginLeft="@dimen/dp_39"
|
|
android:text="选择车辆"
|
|
android:textColor="#ff000000"
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/xuanze"
|
|
android:layout_width="@dimen/dp_29"
|
|
android:layout_height="@dimen/dp_29"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="@dimen/dp_38"
|
|
android:background="@null"
|
|
android:padding="@dimen/dp_5"
|
|
android:scaleType="fitXY"
|
|
android:src="@mipmap/add1" />
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_7"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageButton
|
|
android:id="@+id/xuan"
|
|
android:layout_width="@dimen/dp_25"
|
|
android:layout_height="@dimen/dp_25"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_38"
|
|
android:background="@null"
|
|
android:padding="@dimen/dp_5"
|
|
android:scaleType="fitXY"
|
|
android:src="@mipmap/no_xuan" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_7"
|
|
android:text="同意并签署"
|
|
android:textColor="#000000"
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
<TextView
|
|
android:id="@+id/check_contract"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="《运输合同》"
|
|
android:textColor="@color/theme_color_news"
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_7">
|
|
|
|
<ImageButton
|
|
android:id="@+id/btnFp"
|
|
android:layout_width="@dimen/dp_25"
|
|
android:layout_height="@dimen/dp_25"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_38"
|
|
android:background="@null"
|
|
android:padding="@dimen/dp_5"
|
|
android:scaleType="fitXY"
|
|
android:src="@mipmap/no_xuan"
|
|
android:visibility="invisible" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvZzs"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_7"
|
|
android:layout_toRightOf="@+id/btnFp"
|
|
android:text="同意在符合相关税务机关要求的情况下代开增值税发票"
|
|
android:textColor="#000000"
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:text="增值税发票"
|
|
android:textColor="@color/red"
|
|
android:textSize="@dimen/sp_13"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<Button
|
|
android:id="@+id/confirm_btn"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_38"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_38"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
android:layout_marginRight="@dimen/dp_38"
|
|
android:layout_marginBottom="@dimen/dp_60"
|
|
android:background="@drawable/bg_btn"
|
|
android:text="确认接单"
|
|
android:textColor="#fff"
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout> |