<?xml version="1.0" encoding="utf-8"?>
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/page_bg">
|
|
<LinearLayout
|
android:id="@+id/ll_top"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@mipmap/bg"
|
android:gravity="center_horizontal"
|
android:orientation="vertical">
|
|
<FrameLayout
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content">
|
|
<View
|
android:layout_width="68dp"
|
android:layout_height="68dp"
|
android:layout_marginTop="15dp"
|
android:background="@drawable/bg_white_30dp" />
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
android:id="@+id/iv_head"
|
android:layout_width="66dp"
|
android:layout_height="66dp"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="16dp"
|
app:actualImageScaleType="centerCrop"
|
app:roundAsCircle="true" />
|
</FrameLayout>
|
|
<TextView
|
android:id="@+id/tv_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="10dp"
|
android:textColor="@color/white"
|
android:textSize="14sp"
|
android:textStyle="bold"
|
tools:text="176****2354" />
|
|
<TextView
|
android:id="@+id/tv_car_num"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="5dp"
|
android:padding="2dp"
|
android:textColor="@color/white"
|
android:textSize="14sp"
|
tools:text="176****2354" />
|
|
<TextView
|
android:id="@+id/tv_id_card"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="15dp"
|
android:background="#F2EFEE"
|
android:paddingTop="11dp"
|
android:paddingStart="14dp"
|
android:paddingBottom="11dp"
|
android:text="身份证:"
|
android:textColor="@color/colorPrimary"
|
android:textSize="12sp" />
|
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
android:id="@+id/ll_count"
|
android:background="@color/white"
|
android:paddingBottom="11dp"
|
android:paddingTop="11dp"
|
app:layout_constraintTop_toBottomOf="@id/ll_top">
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/center"
|
app:layout_constraintTop_toBottomOf="@id/ll_top">
|
|
<TextView
|
android:id="@+id/tv_count"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:text="0"
|
android:textColor="@color/textColor"
|
android:textSize="18sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginTop="4dp"
|
android:text="接单数"
|
android:textColor="@color/textColor66"
|
android:textSize="12sp" />
|
</LinearLayout>
|
<View
|
android:layout_width="1dp"
|
android:layout_height="45dp"
|
android:background="@color/dividing_line_color"
|
android:layout_gravity="center_vertical"/>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="wrap_content"
|
android:background="@color/white"
|
android:orientation="vertical"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toStartOf="@id/center"
|
app:layout_constraintTop_toBottomOf="@id/ll_top">
|
|
<TextView
|
android:id="@+id/tv_score"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:text="0.0"
|
android:textColor="@color/textColor"
|
android:textSize="18sp"
|
android:textStyle="bold" />
|
|
<ImageView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
android:layout_marginTop="4dp"
|
android:src="@mipmap/driver_star"/>
|
|
|
</LinearLayout>
|
</LinearLayout>
|
<cn.sinata.xldutils.view.SwipeRefreshRecyclerLayout
|
android:id="@+id/lv_list"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_marginTop="2dp"
|
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/ll_count" />
|
</androidx.constraintlayout.widget.ConstraintLayout>
|