<?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">
|
|
<ScrollView
|
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_money"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="13dp"
|
android:textColor="@color/red_price"
|
android:textSize="36sp"
|
android:textStyle="bold"
|
tools:text="¥55.78" />
|
|
<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>
|
|
<RelativeLayout
|
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: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: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: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: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>
|
|
|
<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:inputType="numberDecimal"
|
android:text="手动输入您需要另收得其他费用"
|
android:textColorHint="#ff999999"
|
android:textSize="12sp" />
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="30dp"
|
android:layout_marginStart="12dp"
|
android:layout_marginTop="15dp"
|
android:layout_marginEnd="12dp">
|
|
<TextView
|
android:id="@+id/tv_long_go_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="过路费"
|
android:textColor="#ff000000"
|
android:textSize="12sp" />
|
|
<EditText
|
android:id="@+id/et_long_go_money"
|
android:layout_width="match_parent"
|
android:layout_height="30dp"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:background="@null"
|
android:gravity="end|center_vertical"
|
android:hint="金额"
|
android:inputType="numberDecimal"
|
android:textColor="#ff333333"
|
android:textSize="12sp" />
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="12dp"
|
android:layout_marginEnd="12dp">
|
|
<TextView
|
android:id="@+id/tv_stop_car_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:text="停车费"
|
android:textColor="#ff000000"
|
android:textSize="12sp" />
|
|
<EditText
|
android:id="@+id/et_stop_car_money"
|
android:layout_width="match_parent"
|
android:layout_height="30dp"
|
android:layout_alignParentEnd="true"
|
android:layout_centerVertical="true"
|
android:background="@null"
|
android:gravity="end|center_vertical"
|
android:hint="金额"
|
android:inputType="numberDecimal"
|
android:textColor="#ff333333"
|
android:textSize="12sp" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
<include layout="@layout/include_weight_height" />
|
|
|
</LinearLayout>
|
|
|
</ScrollView>
|
|
<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" />
|
|
</RelativeLayout>
|