<?xml version="1.0" encoding="utf-8"?>
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:id="@+id/mSwipeRefreshLayout"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent">
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/main_back">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
android:id="@+id/next_scoll"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@color/main_back">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical">
|
|
|
<RelativeLayout
|
android:id="@+id/rl_header_title"
|
android:layout_width="match_parent"
|
android:layout_height="33dp"
|
android:background="#ffffff">
|
|
</RelativeLayout>
|
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:background="#ffffff">
|
|
|
<TextView
|
android:id="@+id/tv_title_server"
|
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="#333333"
|
android:textSize="18sp"
|
android:textStyle="bold" />
|
|
<View
|
android:id="@+id/view_bottom_title"
|
android:layout_width="match_parent"
|
android:layout_height="0.5dp"
|
android:layout_alignParentBottom="true"
|
android:alpha="0.2"
|
android:background="@color/bg_line" />
|
|
|
</RelativeLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_alltop"
|
android:layout_width="match_parent"
|
android:layout_height="100dp"
|
android:background="@color/white"
|
android:gravity="bottom"
|
android:orientation="horizontal"
|
android:paddingBottom="14dp">
|
|
<TextView
|
android:id="@+id/tv_buy_car"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:drawableTop="@mipmap/server_ershouche"
|
android:gravity="center"
|
android:text="购车"
|
android:textColor="#ff222222"
|
android:textSize="12sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:id="@+id/tv_rental_car"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:drawableTop="@mipmap/rental_main"
|
android:gravity="center"
|
android:text="承租"
|
android:textColor="#ff222222"
|
android:textSize="12sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:id="@+id/tv_job"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:drawableTop="@mipmap/server_jiadian"
|
android:gravity="center"
|
android:text="招募"
|
android:textColor="#ff222222"
|
android:textSize="12sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:id="@+id/tv_sell_car"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:drawableTop="@mipmap/server_maifang"
|
android:gravity="center"
|
android:text="卖车"
|
android:textColor="#ff222222"
|
android:textSize="12sp"
|
android:textStyle="bold" />
|
|
<TextView
|
android:id="@+id/tv_sell_her"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1"
|
android:drawableTop="@mipmap/server_zuche"
|
android:gravity="center"
|
android:text="转包"
|
android:textColor="#ff222222"
|
android:textSize="12sp"
|
android:textStyle="bold" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_buy_car_main"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="7dp"
|
android:background="@color/white"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/ll_buy_car"
|
android:layout_width="match_parent"
|
android:layout_height="45dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="低价好车"
|
android:textColor="#ff333333"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
|
<include layout="@layout/include_weight_width" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:drawableEnd="@mipmap/right_arrow"
|
android:drawablePadding="10dp"
|
android:text="发现更多好车"
|
android:textColor="#ff333333"
|
android:textSize="14sp" />
|
|
|
</LinearLayout>
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view_buy"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_rental_car_main"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="7dp"
|
android:background="@color/white"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/ll_rental_car"
|
android:layout_width="match_parent"
|
android:layout_height="45dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="优质车辆承包"
|
android:textColor="#ff333333"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
|
<include layout="@layout/include_weight_width" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:drawableEnd="@mipmap/right_arrow"
|
android:drawablePadding="10dp"
|
android:text="发现更多好车"
|
android:textColor="#ff333333"
|
android:textSize="14sp" />
|
|
|
</LinearLayout>
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view_rental"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/ll_job_main"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="7dp"
|
android:background="@color/white"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/ll_job"
|
android:layout_width="match_parent"
|
android:layout_height="45dp"
|
android:gravity="center_vertical"
|
android:orientation="horizontal"
|
android:paddingStart="14dp"
|
android:paddingEnd="14dp">
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="高薪招聘"
|
android:textColor="#ff333333"
|
android:textSize="16sp"
|
android:textStyle="bold" />
|
|
<include layout="@layout/include_weight_width" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:drawableEnd="@mipmap/right_arrow"
|
android:drawablePadding="10dp"
|
android:text="发现更多职位"
|
android:textColor="#ff333333"
|
android:textSize="14sp" />
|
|
|
</LinearLayout>
|
|
<androidx.recyclerview.widget.RecyclerView
|
android:id="@+id/recycler_view_job"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
</LinearLayout>
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
<LinearLayout
|
android:id="@+id/ll_error"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_marginTop="80dp"
|
android:background="@color/white"
|
android:orientation="vertical"
|
android:visibility="gone">
|
|
<ImageView
|
android:id="@+id/iv_show_back"
|
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="160dp"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:src="@mipmap/weihu_tab" />
|
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="23dp"
|
android:text="系统维护中~"
|
android:layout_gravity="center_horizontal"
|
android:textColor="#ff3e3e3e"
|
android:textSize="14sp"
|
android:textStyle="bold" />
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|