<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:layout_width="match_parent"
|
android:background="@color/write"
|
android:layout_height="match_parent">
|
|
<androidx.core.widget.NestedScrollView
|
android:layout_width="match_parent"
|
android:paddingBottom="90dp"
|
android:clipToPadding="false"
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/ll_select_city_start"
|
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"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_start_point"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:gravity="end"
|
android:layout_height="wrap_content"
|
android:hint="选择起点"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:src="@mipmap/more_gray" />
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_select_city_end"
|
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"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_end_point"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:hint="选择终点"
|
android:gravity="end"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:src="@mipmap/more_gray" />
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_select_car_line"
|
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"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_line"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:hint="选择线路"
|
android:gravity="end"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:src="@mipmap/more_gray" />
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
|
<LinearLayout
|
android:id="@+id/ll_select_car_num"
|
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"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_select_class"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:hint="选择班次"
|
android:gravity="end"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:src="@mipmap/more_gray" />
|
|
|
</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:maxLines="1"
|
android:hint="司机"
|
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_car_num"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:maxLines="1"
|
android:hint="车牌"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_start_point"
|
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"
|
/>
|
|
<View
|
android:layout_width="15dp"
|
android:layout_height="match_parent"/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_up_point"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:hint="选择上车点"
|
android:textColor="#ff333333"
|
android:gravity="end"
|
android:textSize="14sp"
|
/>
|
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:src="@mipmap/more_gray" />
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_end_point"
|
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"
|
/>
|
|
<View
|
android:layout_width="15dp"
|
android:layout_height="match_parent"/>
|
|
<TextView
|
android:id="@+id/tv_down_point"
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:hint="选择下车点"
|
android:text=""
|
android:maxLines="1"
|
android:ellipsize="end"
|
android:gravity="end"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:src="@mipmap/more_gray" />
|
|
|
</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"
|
/>
|
|
|
<EditText
|
android:id="@+id/et_name_c"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:hint="填写乘车人姓名"
|
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"
|
/>
|
|
|
<EditText
|
android:id="@+id/et_phone_c"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="end|center_vertical"
|
android:background="@null"
|
android:maxLines="1"
|
android:inputType="number"
|
android:hint="填写乘车人联系电话"
|
android:maxLength="11"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_select_car_people_num"
|
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"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_select_people_num"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:hint="选择乘车人数"
|
android:gravity="end"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:src="@mipmap/more_gray" />
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_select_number"
|
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"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/rv_select_zw"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:hint="选择座位"
|
android:gravity="end"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:src="@mipmap/more_gray" />
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
<LinearLayout
|
android:id="@+id/ll_select_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"
|
/>
|
|
<include layout="@layout/include_weight_width"/>
|
|
<TextView
|
android:id="@+id/tv_car_type"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:hint="选择出行方式"
|
android:gravity="end"
|
android:textColor="#ff333333"
|
android:textSize="14sp"
|
/>
|
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="10dp"
|
android:src="@mipmap/more_gray" />
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_line_14"/>
|
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<TextView
|
android:id="@+id/tv_sure_dan"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginStart="14dp"
|
android:layout_alignParentBottom="true"
|
android:layout_marginBottom="18dp"
|
android:layout_marginEnd="14dp"
|
android:background="@drawable/main_color_eight"
|
android:gravity="center"
|
android:text="确定"
|
android:textColor="@color/write"
|
android:textSize="14sp"
|
/>
|
|
</RelativeLayout>
|