<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:background="@color/bg_main"
|
android:layout_height="match_parent"
|
xmlns:tools="http://schemas.android.com/tools">
|
|
<androidx.core.widget.NestedScrollView
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/write"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="下单时间:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_time"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="订单编号:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_order_number"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="乘车时间:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_trevel_time"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="下单用户:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_order_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="起点:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_start"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="终点:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_end"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="选择车型:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_car_type"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_driver"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="接单司机:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_order_car"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_car"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="接单车辆:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_order_car_in"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_money"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="订单金额:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_money"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_shen_driver"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginTop="7dp"
|
android:layout_marginBottom="7dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="申请司机:"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
android:shadowColor="#80d7d7d7"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_shen_car"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
tools:text="2019/5/31/12:20"
|
android:textColor="#ff333333"
|
android:textStyle="bold"
|
android:textSize="12sp"
|
/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
<TextView
|
android:id="@+id/tv_cancel"
|
android:layout_alignParentBottom="true"
|
android:layout_width="match_parent"
|
android:layout_margin="14dp"
|
android:layout_height="40dp"
|
android:background="@drawable/main_color_btn"
|
android:gravity="center"
|
android:text="取消订单"
|
android:textColor="#fff07710"
|
android:textSize="14sp"
|
/>
|
|
</RelativeLayout>
|