199 lines
9.4 KiB
XML
199 lines
9.4 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:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_191"
|
|
android:id="@+id/item_huoyuan_deal"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
android:layout_marginRight="@dimen/dp_5"
|
|
android:background="@drawable/bg_huoyuan">
|
|
<RelativeLayout
|
|
android:layout_margin="@dimen/dp_35"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<View
|
|
android:layout_width="@dimen/dp_3"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:background="@color/theme_color"
|
|
android:layout_centerVertical="true"/>
|
|
<TextView
|
|
android:id="@+id/type_timer"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:text="1装3卸 07/12 12:00成交"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_13" />
|
|
<LinearLayout
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="运输里程"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_12"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/distance"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="2368"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_12" />
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="km"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_12"
|
|
/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<View
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_1"
|
|
android:background="@drawable/bottom_xu"/>
|
|
<RelativeLayout
|
|
android:layout_marginTop="@dimen/dp_11"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<ImageView
|
|
android:src="@mipmap/zhuang"
|
|
android:layout_width="@dimen/dp_16"
|
|
android:layout_height="@dimen/dp_16"
|
|
android:scaleType="fitXY"
|
|
android:layout_gravity="center"/>
|
|
|
|
<TextView
|
|
android:id="@+id/loadingAddress"
|
|
android:layout_width="@dimen/dp_120"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="郑州市市委党校"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_13" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_marginTop="@dimen/dp_7"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<ImageView
|
|
android:src="@mipmap/xie"
|
|
android:layout_width="@dimen/dp_16"
|
|
android:layout_height="@dimen/dp_16"
|
|
android:scaleType="fitXY"
|
|
android:layout_gravity="center"/>
|
|
|
|
<TextView
|
|
android:id="@+id/receiverAddress"
|
|
android:layout_width="@dimen/dp_120"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="@dimen/dp_5"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="郑州市市委党校"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_13" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:visibility="gone"
|
|
android:layout_marginRight="@dimen/dp_10"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_centerVertical="true">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="¥"
|
|
android:textColor="#fff65151"
|
|
android:textSize="@dimen/sp_19"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/totalFreight"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="2999.00"
|
|
android:textColor="#fff65151"
|
|
android:textSize="@dimen/sp_19" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<LinearLayout
|
|
android:layout_marginTop="@dimen/sp_6"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginBottom="@dimen/dp_12">
|
|
<TextView
|
|
android:id="@+id/diver_data"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:text="承运人:王** | 134****2961 | 豫A***63"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_10"
|
|
android:background="@drawable/type_bg"
|
|
android:paddingLeft="@dimen/dp_3"
|
|
android:paddingRight="@dimen/dp_3"
|
|
android:paddingTop="@dimen/dp_1"
|
|
android:paddingBottom="@dimen/dp_1"/>
|
|
<TextView
|
|
android:id="@+id/goodsBigCate"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:text="钢铁"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_10"
|
|
android:background="@drawable/type_bg"
|
|
android:paddingLeft="@dimen/dp_3"
|
|
android:paddingRight="@dimen/dp_3"
|
|
android:paddingTop="@dimen/dp_1"
|
|
android:paddingBottom="@dimen/dp_1"
|
|
android:visibility="gone"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<com.haozhang.lib.SlantedTextView
|
|
android:id="@+id/states"
|
|
android:layout_width="@dimen/dp_45"
|
|
android:layout_height="@dimen/dp_45"
|
|
android:gravity="center"
|
|
app:slantedBackgroundColor="#ff999999"
|
|
app:slantedLength="@dimen/dp_23"
|
|
app:slantedMode="right_bottom"
|
|
app:slantedText="已接单"
|
|
app:slantedTextSize="@dimen/sp_12"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"
|
|
/>
|
|
</RelativeLayout>
|
|
</LinearLayout> |