| | |
| | | android:layout_marginTop="10dp" |
| | | android:background="@color/dividing_line_color" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_end" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_money" |
| | | android:layout_width="wrap_content" |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="20dp" |
| | | android:layout_marginBottom="35dp" |
| | | android:text="0.0元" |
| | | android:textColor="@color/red_main" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintEnd_toStartOf="@id/line1" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_end" /> |
| | | android:orientation="horizontal" |
| | | android:id="@+id/ll_info" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_end"> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_weight="1" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | android:gravity="center" |
| | | android:id="@+id/ll_money"> |
| | | <TextView |
| | | android:id="@+id/tv_money" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="20dp" |
| | | android:text="0.0元" |
| | | android:textColor="@color/red_main" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintEnd_toStartOf="@id/line1" |
| | | app:layout_constraintStart_toStartOf="parent" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_end" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_1" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="2dp" |
| | | android:text="预估费用" |
| | | android:textColor="@color/textColor66" |
| | | android:textSize="12sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_money" |
| | | app:layout_constraintStart_toStartOf="@id/tv_money" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_money" /> |
| | | <TextView |
| | | android:id="@+id/tv_1" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_marginTop="3dp" |
| | | android:layout_marginBottom="17dp" |
| | | android:text="预估费用" |
| | | android:textColor="@color/textColor66" |
| | | android:textSize="12sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_money" |
| | | app:layout_constraintStart_toStartOf="@id/tv_money" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_money" /> |
| | | </LinearLayout> |
| | | <View |
| | | android:id="@+id/line1" |
| | | android:layout_width="1dp" |
| | | android:layout_height="30dp" |
| | | android:background="@color/dividing_line_color" |
| | | android:layout_gravity="center"/> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:orientation="vertical" |
| | | android:layout_weight="1" |
| | | android:gravity="center" |
| | | android:id="@+id/ll_length"> |
| | | <TextView |
| | | android:id="@+id/tv_length" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="0公里" |
| | | android:layout_marginTop="20dp" |
| | | android:textColor="@color/red_main" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_money" |
| | | app:layout_constraintEnd_toStartOf="@id/line2" |
| | | app:layout_constraintStart_toEndOf="@id/line1" /> |
| | | |
| | | <View |
| | | android:id="@+id/line1" |
| | | android:layout_width="1dp" |
| | | android:layout_height="30dp" |
| | | android:background="@color/dividing_line_color" |
| | | app:layout_constraintBottom_toBottomOf="@id/tv_1" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_length" |
| | | app:layout_constraintStart_toEndOf="@id/tv_money" |
| | | app:layout_constraintTop_toTopOf="@id/tv_money" /> |
| | | <TextView |
| | | android:id="@+id/tv_2" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="行驶里程" |
| | | android:textColor="@color/textColor66" |
| | | android:textSize="12sp" |
| | | android:textStyle="bold" |
| | | android:layout_marginTop="3dp" |
| | | android:layout_marginBottom="17dp" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_length" |
| | | app:layout_constraintStart_toStartOf="@id/tv_length" /> |
| | | </LinearLayout> |
| | | <View |
| | | android:id="@+id/line2" |
| | | android:layout_width="1dp" |
| | | android:layout_height="30dp" |
| | | android:layout_gravity="center" |
| | | android:background="@color/dividing_line_color" |
| | | android:visibility="gone" /> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:visibility="gone" |
| | | android:layout_marginTop="20dp" |
| | | android:gravity="center" |
| | | android:orientation="vertical" |
| | | android:id="@+id/ll_waiting"> |
| | | <TextView |
| | | android:id="@+id/tv_waiting" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="0分钟" |
| | | android:textColor="@color/red_main" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_money" |
| | | app:layout_constraintEnd_toStartOf="@id/line3" |
| | | app:layout_constraintStart_toEndOf="@id/line2" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_length" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="0公里" |
| | | android:textColor="@color/red_main" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_money" |
| | | app:layout_constraintEnd_toStartOf="@id/line2" |
| | | app:layout_constraintStart_toEndOf="@id/line1" /> |
| | | <TextView |
| | | android:id="@+id/tv_3" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="等待时间" |
| | | android:textColor="@color/textColor66" |
| | | android:textSize="12sp" |
| | | android:textStyle="bold" |
| | | android:layout_marginTop="3dp" |
| | | android:layout_marginBottom="17dp" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_waiting" |
| | | app:layout_constraintStart_toStartOf="@id/tv_waiting" /> |
| | | </LinearLayout> |
| | | <View |
| | | android:id="@+id/line3" |
| | | android:layout_width="1dp" |
| | | android:layout_height="30dp" |
| | | android:background="@color/dividing_line_color" |
| | | android:visibility="gone" |
| | | android:layout_gravity="center" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_duration" |
| | | app:layout_constraintStart_toEndOf="@id/tv_waiting" |
| | | app:layout_constraintTop_toTopOf="@id/line1" /> |
| | | <LinearLayout |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:layout_marginTop="20dp" |
| | | android:gravity="center" |
| | | android:visibility="gone" |
| | | android:orientation="vertical" |
| | | android:id="@+id/ll_duration"> |
| | | <TextView |
| | | android:id="@+id/tv_duration" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="0分钟" |
| | | android:textColor="@color/red_main" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_money" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toEndOf="@id/line3" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_2" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="行驶里程" |
| | | android:textColor="@color/textColor66" |
| | | android:textSize="12sp" |
| | | android:textStyle="bold" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_length" |
| | | app:layout_constraintStart_toStartOf="@id/tv_length" /> |
| | | <TextView |
| | | android:id="@+id/tv_4" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="行驶时间" |
| | | android:textColor="@color/textColor66" |
| | | android:textSize="12sp" |
| | | android:textStyle="bold" |
| | | android:layout_marginTop="3dp" |
| | | android:layout_marginBottom="17dp" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_duration" |
| | | app:layout_constraintStart_toStartOf="@id/tv_duration" /> |
| | | </LinearLayout> |
| | | </LinearLayout> |
| | | |
| | | <View |
| | | android:id="@+id/line2" |
| | | android:layout_width="1dp" |
| | | android:layout_height="30dp" |
| | | android:background="@color/dividing_line_color" |
| | | android:visibility="gone" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_waiting" |
| | | app:layout_constraintStart_toEndOf="@id/tv_length" |
| | | app:layout_constraintTop_toTopOf="@id/line1" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_waiting" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="0分钟" |
| | | android:textColor="@color/red_main" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | android:visibility="gone" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_money" |
| | | app:layout_constraintEnd_toStartOf="@id/line3" |
| | | app:layout_constraintStart_toEndOf="@id/line2" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_3" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="等待时间" |
| | | android:textColor="@color/textColor66" |
| | | android:textSize="12sp" |
| | | android:textStyle="bold" |
| | | android:visibility="gone" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_waiting" |
| | | app:layout_constraintStart_toStartOf="@id/tv_waiting" /> |
| | | |
| | | <View |
| | | android:id="@+id/line3" |
| | | android:layout_width="1dp" |
| | | android:layout_height="30dp" |
| | | android:background="@color/dividing_line_color" |
| | | android:visibility="gone" |
| | | app:layout_constraintEnd_toStartOf="@id/tv_duration" |
| | | app:layout_constraintStart_toEndOf="@id/tv_waiting" |
| | | app:layout_constraintTop_toTopOf="@id/line1" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_duration" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="0分钟" |
| | | android:textColor="@color/red_main" |
| | | android:textSize="16sp" |
| | | android:textStyle="bold" |
| | | android:visibility="gone" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_money" |
| | | app:layout_constraintEnd_toEndOf="parent" |
| | | app:layout_constraintStart_toEndOf="@id/line3" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_4" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="行驶时间" |
| | | android:textColor="@color/textColor66" |
| | | android:textSize="12sp" |
| | | android:textStyle="bold" |
| | | android:visibility="gone" |
| | | app:layout_constraintBaseline_toBaselineOf="@id/tv_1" |
| | | app:layout_constraintEnd_toEndOf="@id/tv_duration" |
| | | app:layout_constraintStart_toStartOf="@id/tv_duration" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/tv_action" |
| | |
| | | app:layout_constraintBottom_toBottomOf="parent" |
| | | android:background="@drawable/bg_login" |
| | | android:gravity="center" |
| | | android:layout_marginTop="10dp" |
| | | android:text="接单(10)" |
| | | android:textColor="#ffffffff" |
| | | android:textSize="14sp" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_1" /> |
| | | app:layout_constraintTop_toBottomOf="@id/ll_info" /> |
| | | |
| | | <com.fanghua.driver.utils.view.SlidingButton |
| | | android:id="@+id/slide_btn" |
| | |
| | | android:layout_height="45dp" |
| | | android:layout_marginHorizontal="10dp" |
| | | android:layout_marginBottom="10dp" |
| | | app:layout_constraintTop_toBottomOf="@id/tv_1" |
| | | android:layout_marginTop="10dp" |
| | | app:layout_constraintTop_toBottomOf="@id/ll_info" |
| | | android:visibility="gone" |
| | | app:layout_constraintBottom_toBottomOf="parent" /> |
| | | </androidx.constraintlayout.widget.ConstraintLayout> |