<?xml version="1.0" encoding="utf-8"?>
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<androidx.core.widget.NestedScrollView
|
android:id="@+id/next_scoll"
|
android:paddingBottom="60dp"
|
android:clipToPadding="false"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_margin="10dp"
|
android:background="@drawable/bg_white_10"
|
android:orientation="vertical"
|
android:paddingBottom="20dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="16dp"
|
android:text="订单金额"
|
android:textColor="#ff333333"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:id="@+id/tv_all_people_num"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="21dp"
|
android:layout_gravity="center_horizontal"
|
android:text="拼成(2人价)"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
/>
|
|
<TextView
|
android:id="@+id/tv_all_money"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:textColor="#EF3321"
|
android:textSize="36sp"
|
android:textStyle="bold"
|
tools:text="¥55.78" />
|
|
<LinearLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginTop="10dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="0dp"
|
android:layout_height="1px"
|
android:layout_marginRight="14dp"
|
android:layout_weight="1"
|
android:alpha="0.3"
|
android:background="#979797" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="基础费用"
|
android:textColor="#ff333333"
|
android:textSize="14sp" />
|
|
<View
|
android:layout_width="0dp"
|
android:layout_height="1px"
|
android:layout_marginLeft="14dp"
|
android:layout_weight="1"
|
android:alpha="0.3"
|
android:background="#979797" />
|
|
|
</LinearLayout>
|
|
<RelativeLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="20dp"
|
android:layout_marginEnd="12dp">
|
|
<TextView
|
android:id="@+id/tv_start_name"
|
android:layout_width="200dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="起步价"
|
android:textColor="#ff000000"
|
android:textSize="12sp" />
|
|
<TextView
|
android:id="@+id/tv_start_money"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:textColor="#ff333333"
|
android:textSize="12sp"
|
tools:text="0.00元" />
|
|
</RelativeLayout>
|
|
|
<RelativeLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="15dp"
|
android:layout_marginEnd="12dp">
|
|
<TextView
|
android:id="@+id/tv_wait_name"
|
android:layout_width="200dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
tools:text="等待费(5)分钟" />
|
|
<TextView
|
android:id="@+id/tv_wait_money"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:textColor="#ff333333"
|
android:textSize="12sp"
|
tools:text="0.00元" />
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="15dp"
|
android:layout_marginEnd="12dp">
|
|
<TextView
|
android:id="@+id/tv_mileage_name"
|
android:layout_width="200dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
tools:text="里程费(8.0)公里" />
|
|
<TextView
|
android:id="@+id/tv_mileage_money"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:textColor="#ff333333"
|
android:textSize="12sp"
|
tools:text="0.00元" />
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="15dp"
|
android:layout_marginEnd="12dp">
|
|
<TextView
|
android:id="@+id/tv_time_name"
|
android:layout_width="200dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
tools:text="时长费(30)分钟" />
|
|
<TextView
|
android:id="@+id/tv_time_money"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:textColor="#ff333333"
|
android:textSize="12sp"
|
tools:text="0.00元" />
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="15dp"
|
android:layout_marginEnd="12dp">
|
|
<TextView
|
android:id="@+id/tv_long_distance_name"
|
android:layout_width="200dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
tools:text="远途费(6.50)公里" />
|
|
<TextView
|
android:id="@+id/tv_long_distance_money"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:textColor="#ff333333"
|
android:textSize="12sp"
|
tools:text="0.00元" />
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:visibility="gone"
|
android:id="@+id/rl_holiday_money"
|
android:layout_marginTop="15dp"
|
android:layout_marginStart="12dp"
|
android:layout_marginEnd="12dp"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content">
|
|
<TextView
|
android:id="@+id/tv_holiday_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="节假日费"
|
android:textColor="#ff000000"
|
android:textSize="12sp"
|
/>
|
|
<TextView
|
android:id="@+id/et_holiday_money"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:background="@null"
|
android:gravity="end|center_vertical"
|
android:text="0.00元"
|
android:inputType="numberDecimal"
|
android:textColor="#ff333333"
|
android:textSize="12sp" />
|
|
</RelativeLayout>
|
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_marginTop="10dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal">
|
|
<View
|
android:layout_width="0dp"
|
android:layout_height="1px"
|
android:layout_marginRight="14dp"
|
android:layout_weight="1"
|
android:alpha="0.3"
|
android:background="#979797" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="附加费"
|
android:textColor="#ff333333"
|
android:textSize="14sp" />
|
|
<View
|
android:layout_width="0dp"
|
android:layout_height="1px"
|
android:layout_marginLeft="14dp"
|
android:layout_weight="1"
|
android:alpha="0.3"
|
android:background="#979797" />
|
|
|
</LinearLayout>
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:background="@null"
|
android:gravity="center"
|
android:visibility="gone"
|
android:inputType="numberDecimal"
|
android:text="手动输入您需要另收得其他费用"
|
android:textColorHint="#ff999999"
|
android:textSize="12sp" />
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view_money"
|
android:layout_width="match_parent"
|
android:layout_marginTop="15dp"
|
android:layout_height="wrap_content"/>
|
|
|
</LinearLayout>
|
|
<include layout="@layout/include_weight_height" />
|
|
<TextView
|
android:id="@+id/tv_sure"
|
android:layout_width="match_parent"
|
android:layout_height="40dp"
|
android:layout_alignParentBottom="true"
|
android:layout_marginStart="14dp"
|
android:layout_marginEnd="14dp"
|
android:layout_marginBottom="14dp"
|
android:background="@drawable/bg_login"
|
android:gravity="center"
|
android:text="确认费用并发送"
|
android:textColor="#ffffffff"
|
android:textSize="14sp" />
|
|
|
</LinearLayout>
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</RelativeLayout>
|