<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
xmlns:tools="http://schemas.android.com/tools">
|
|
<androidx.core.widget.NestedScrollView
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<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="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="申请改派时间"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_time"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="2019.5.1-12:00"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="申请改派司机"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_driver"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="张三-川E12345"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="申请原因"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_reason"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="临时有事"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="下单用户"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_in_order_name"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="小明123"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="出发时间"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_to_time"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="2019/5/1/12:10"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="出发地"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_start_address"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="泸州客运中心站"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="目的地"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_end_address"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="泸州市江阳区政府大楼"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="订单状态"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_statue"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="待到达预约地点"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_ressign_statue"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="改派状态"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_ressign_statue"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="待到达预约地点"
|
android:textColor="#D03030"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_ressign_people"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="改派人"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_ressign_people"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="待到达预约地点"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_ressign_new"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="新司机"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_ressign_new"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="待到达预约地点"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_ressign_new_type"
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="订单类型"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<TextView
|
android:id="@+id/tv_ressign_new_type"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:textStyle="bold"
|
tools:text="专车"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
<LinearLayout
|
android:id="@+id/ll_bottom"
|
android:background="@color/write"
|
android:layout_alignParentBottom="true"
|
android:layout_width="match_parent"
|
android:layout_height="45dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/tv_cancel"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:textStyle="bold"
|
android:layout_height="match_parent"
|
android:text="取消订单"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
<View
|
android:layout_width="1px"
|
android:layout_marginTop="12dp"
|
android:alpha="0.5"
|
android:layout_marginBottom="12dp"
|
android:layout_height="match_parent"
|
android:background="@color/black_333333"/>
|
|
<TextView
|
android:id="@+id/tv_none"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:textStyle="bold"
|
android:layout_height="match_parent"
|
android:text="拒绝改派"
|
android:textColor="#FAA407"
|
android:textSize="14sp"
|
/>
|
|
<View
|
android:layout_width="1px"
|
android:layout_marginTop="12dp"
|
android:alpha="0.5"
|
android:layout_marginBottom="12dp"
|
android:layout_height="match_parent"
|
android:background="@color/black_333333"/>
|
|
|
<TextView
|
android:id="@+id/tv_now_change"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:textStyle="bold"
|
android:layout_height="match_parent"
|
android:text="立即改派"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
|
</RelativeLayout>
|