<?xml version="1.0" encoding="utf-8"?>
|
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="#F3F4F5">
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:id="@+id/rl_top"
|
android:layout_width="match_parent"
|
android:layout_height="170dp"
|
android:background="@mipmap/bg">
|
|
<RelativeLayout
|
android:id="@+id/rl_title"
|
android:layout_width="match_parent"
|
android:layout_height="42dp"
|
android:layout_marginTop="22dp">
|
|
<TextView
|
android:id="@+id/tv_left_title_mine"
|
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
android:layout_centerVertical="true"
|
android:background="@drawable/bg_clicker"
|
android:drawableStart="@mipmap/back_white"
|
android:gravity="center"
|
android:paddingStart="@dimen/dp_10"
|
android:paddingEnd="@dimen/dp_15"
|
android:textColor="#333333"
|
android:textSize="16sp" />
|
|
<TextView
|
android:id="@+id/tv_title"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerInParent="true"
|
android:drawablePadding="3dp"
|
android:maxWidth="280dp"
|
android:maxLines="1"
|
android:singleLine="true"
|
android:text="我的主页"
|
android:textColor="@color/white"
|
android:textSize="18sp"
|
android:textStyle="bold" />
|
|
</RelativeLayout>
|
|
<ImageView
|
android:id="@+id/iv_head"
|
android:layout_width="66dp"
|
android:layout_height="66dp"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="68dp"
|
android:src="@mipmap/default_head" />
|
|
<TextView
|
android:id="@+id/tv_name"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_alignTop="@+id/iv_head"
|
android:layout_marginStart="10dp"
|
android:layout_marginTop="10dp"
|
android:layout_toRightOf="@+id/iv_head"
|
android:drawableRight="@mipmap/icon_me_boy"
|
android:drawablePadding="5dp"
|
android:text=""
|
android:textColor="#ffffffff"
|
android:textSize="14sp" />
|
|
<TextView
|
android:id="@+id/tv_company"
|
android:layout_width="97dp"
|
android:layout_height="17dp"
|
android:layout_below="@+id/tv_name"
|
android:layout_marginStart="10dp"
|
android:layout_marginTop="10dp"
|
android:layout_toRightOf="@+id/iv_head"
|
android:text=""
|
android:textColor="#ffffffff"
|
android:textSize="12sp" />
|
|
|
</RelativeLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_center"
|
android:layout_width="match_parent"
|
android:layout_height="54dp"
|
android:layout_marginStart="14dp"
|
android:layout_marginTop="143dp"
|
android:layout_marginEnd="14dp"
|
android:background="@drawable/bg_gray_top_mine"
|
android:elevation="4dp"
|
android:orientation="horizontal">
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/tv_order_num"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="0"
|
android:textColor="#F07207"
|
android:textSize="18sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="接单数"
|
android:textColor="#333333"
|
android:textSize="12sp" />
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/tv_star"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="0"
|
android:textColor="#F07207"
|
android:textSize="18sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="我的评分"
|
android:textColor="#333333"
|
android:textSize="12sp" />
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_mine_money"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/tv_money"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="¥0"
|
android:textColor="#F07207"
|
android:textSize="18sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="余额"
|
android:textColor="#333333"
|
android:textSize="12sp" />
|
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_below="@+id/ll_center"
|
android:layout_marginTop="10dp"
|
android:background="@color/white"
|
android:orientation="vertical">
|
|
<RelativeLayout
|
android:id="@+id/rl_mine_attestation"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="司机认证"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_evaluation" />
|
|
</RelativeLayout>
|
|
<include layout="@layout/include_line_left_15" />
|
|
|
<RelativeLayout
|
android:id="@+id/rl_mine_eval"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="我的评价"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_evaluation" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:background="@color/white" />
|
|
<include layout="@layout/include_line_left_15" />
|
|
<RelativeLayout
|
android:id="@+id/rl_acount_safe"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="账户安全"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_safety" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:background="@color/white" />
|
|
<include layout="@layout/include_line_left_15" />
|
|
<RelativeLayout
|
android:id="@+id/rl_remark"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="意见反馈"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_edit" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:background="@color/white" />
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="4dp"
|
android:background="#F3F4F5" />
|
|
<RelativeLayout
|
android:id="@+id/rl_set_order"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="接单设置"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_orders" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:background="@color/white" />
|
|
<include layout="@layout/include_line_left_15" />
|
|
<RelativeLayout
|
android:id="@+id/rl_line_car"
|
android:visibility="gone"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="线路班次管理"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_line" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:visibility="gone"
|
android:background="@color/white" />
|
|
<include layout="@layout/include_line_left_15" />
|
|
<RelativeLayout
|
android:id="@+id/rl_change_car"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="更换车辆"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_car" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:background="@color/white" />
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="4dp"
|
android:background="#F3F4F5" />
|
|
|
<RelativeLayout
|
android:id="@+id/rl_put_friend"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="推荐给好友"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_people" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:background="@color/white" />
|
|
<include layout="@layout/include_line_left_15" />
|
|
<RelativeLayout
|
android:id="@+id/rl_call_server"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="联系客服"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_services" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:background="@color/white" />
|
|
<View
|
android:id="@+id/view_qr"
|
android:layout_width="match_parent"
|
android:background="#979797"
|
android:alpha="0.3"
|
android:layout_marginStart="15dp"
|
android:layout_height="1px"/>
|
|
<RelativeLayout
|
android:id="@+id/ll_qr"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="二维码"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_code" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:background="@color/white" />
|
|
<include layout="@layout/include_line_left_15" />
|
|
<RelativeLayout
|
android:id="@+id/rl_setting"
|
android:layout_width="match_parent"
|
android:layout_height="43dp">
|
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="43dp"
|
android:alpha="0.8"
|
android:background="@color/white"
|
android:drawableEnd="@mipmap/more_black"
|
android:drawablePadding="10dp"
|
android:gravity="center_vertical"
|
android:paddingStart="42dp"
|
android:paddingEnd="15dp"
|
android:text="设置"
|
android:textColor="@color/black"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
|
<ImageView
|
android:layout_width="16dp"
|
android:layout_height="wrap_content"
|
android:layout_centerVertical="true"
|
android:layout_marginStart="15dp"
|
android:src="@mipmap/icon_me_set" />
|
|
</RelativeLayout>
|
|
|
<View
|
android:layout_width="match_parent"
|
android:layout_height="7dp"
|
android:background="@color/white" />
|
|
<RelativeLayout
|
android:id="@+id/rl_login_out"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:background="@color/white"
|
android:layout_marginTop="2dp"
|
android:elevation="2dp">
|
|
<TextView
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:background="@color/white"
|
android:gravity="center"
|
android:text="退出登录"
|
android:textColor="#ff666666"
|
android:textSize="15sp"
|
android:textStyle="bold" />
|
|
</RelativeLayout>
|
|
|
</LinearLayout>
|
|
|
</RelativeLayout>
|
|
</androidx.core.widget.NestedScrollView>
|