211 lines
9.8 KiB
XML
211 lines
9.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView
|
|
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_123"
|
|
android:id="@+id/item_quan_yundan"
|
|
android:layout_marginLeft="@dimen/dp_38"
|
|
android:layout_marginRight="@dimen/dp_38"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_marginBottom="@dimen/dp_1"
|
|
app:cardCornerRadius="@dimen/dp_8">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<RelativeLayout
|
|
android:layout_marginTop="@dimen/dp_8"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true">
|
|
<View
|
|
android:layout_width="@dimen/dp_3"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:background="@color/theme_color"
|
|
android:layout_gravity="center"/>
|
|
<TextView
|
|
android:layout_marginLeft="@dimen/dp_7"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="运单号:"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_13"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/orderNum"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="0999023488"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_13"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_marginRight="@dimen/dp_10"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/orderTime"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="2021/08/12"
|
|
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_180"
|
|
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_180"
|
|
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: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="100000"
|
|
android:textColor="#fff65151"
|
|
android:textSize="@dimen/sp_19" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<LinearLayout
|
|
android:layout_marginTop="@dimen/dp_7"
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginBottom="@dimen/dp_15">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="状态:"
|
|
android:textColor="#999999"
|
|
android:textSize="@dimen/sp_13" />
|
|
<TextView
|
|
android:id="@+id/state1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="待装货"
|
|
android:textColor="@color/theme_color"
|
|
android:textSize="@dimen/sp_13"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/state2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=" 待卸货"
|
|
android:textColor="@color/theme_color"
|
|
android:textSize="@dimen/sp_13"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/state3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=" 待结算"
|
|
android:textColor="@color/theme_color"
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
<TextView
|
|
android:id="@+id/state4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=" 待评价"
|
|
android:textColor="@color/theme_color"
|
|
android:textSize="@dimen/sp_13" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<com.haozhang.lib.SlantedTextView
|
|
android:id="@+id/states"
|
|
android:layout_width="@dimen/dp_30"
|
|
android:layout_height="@dimen/dp_30"
|
|
android:gravity="center"
|
|
app:slantedBackgroundColor="#EB001B"
|
|
app:slantedLength="@dimen/dp_18"
|
|
app:slantedMode="right_bottom"
|
|
app:slantedText="最近"
|
|
app:slantedTextSize="@dimen/sp_8"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"
|
|
/>
|
|
</RelativeLayout>
|
|
</androidx.cardview.widget.CardView> |