256 lines
10 KiB
XML
256 lines
10 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:id="@+id/item_huoyuan_new"
|
|
android:paddingBottom="@dimen/dp_78">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_200"
|
|
android:orientation="vertical"
|
|
android:background="@drawable/bg_banner">
|
|
|
|
<com.youth.banner.Banner
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
android:id="@+id/banner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:layout_margin="@dimen/dp_25"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_marginTop="@dimen/dp_m_12"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:id="@+id/fun_left"
|
|
android:layout_marginLeft="@dimen/dp_8"
|
|
android:layout_width="@dimen/dp_176"
|
|
android:layout_height="@dimen/dp_116"
|
|
android:src="@mipmap/icon_home_3"
|
|
android:scaleType="fitXY"/>
|
|
|
|
<ImageView
|
|
android:id="@+id/fun_right"
|
|
android:layout_width="@dimen/dp_176"
|
|
android:layout_height="@dimen/dp_116"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_marginRight="8dp"
|
|
android:scaleType="fitXY"
|
|
android:src="@mipmap/icon_home_4" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_23"
|
|
android:visibility="gone">
|
|
<View
|
|
android:layout_width="@dimen/dp_54"
|
|
android:layout_height="@dimen/dp_3"
|
|
android:background="#999999"
|
|
android:layout_centerVertical="true"
|
|
android:layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<com.arpa.hndahesudintocctmsdriver.util.view.BaseRecyclerView
|
|
android:layout_marginBottom="@dimen/dp_14"
|
|
android:id="@+id/brv_function"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:overScrollMode="never"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/auth_box"
|
|
android:layout_marginTop="@dimen/dp_4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="#fff"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:id="@+id/text_login"
|
|
android:layout_marginTop="@dimen/dp_20"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="认证成功 开始接单"
|
|
android:textColor="#ff666666"
|
|
android:textSize="@dimen/sp_14"
|
|
android:layout_gravity="center"
|
|
/>
|
|
|
|
<Button
|
|
android:id="@+id/btn_auth"
|
|
android:layout_marginTop="@dimen/dp_7"
|
|
android:layout_marginBottom="@dimen/dp_16"
|
|
android:layout_width="@dimen/dp_60"
|
|
android:layout_height="@dimen/dp_24"
|
|
android:text="去认证"
|
|
android:background="@drawable/bg_btn"
|
|
android:textColor="#ffffffff"
|
|
android:textSize="@dimen/sp_10"
|
|
android:layout_gravity="center"
|
|
android:gravity="center" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/order_box"
|
|
android:layout_marginTop="@dimen/dp_4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="#fff"
|
|
android:visibility="gone">
|
|
|
|
<RelativeLayout
|
|
android:layout_marginTop="@dimen/dp_24"
|
|
android:layout_marginLeft="@dimen/dp_20"
|
|
android:layout_marginRight="@dimen/dp_20"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="执行中运单"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_16"
|
|
android:textStyle="bold"
|
|
/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/order_all"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="全部运单"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14"
|
|
/>
|
|
<ImageView
|
|
android:layout_marginLeft="@dimen/dp_4"
|
|
android:layout_width="@dimen/dp_7"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:src="@mipmap/chevron"
|
|
android:layout_gravity="center"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<com.arpa.hndahesudintocctmsdriver.util.view.BaseRecyclerView
|
|
android:layout_marginBottom="@dimen/dp_12"
|
|
android:id="@+id/brv_order"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
<!-- <LinearLayout
|
|
android:layout_marginTop="@dimen/dp_4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="#fff">
|
|
<RelativeLayout
|
|
android:layout_marginTop="@dimen/dp_24"
|
|
android:layout_marginLeft="@dimen/dp_20"
|
|
android:layout_marginRight="@dimen/dp_20"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="司机之家"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_16"
|
|
android:textStyle="bold"/>
|
|
</RelativeLayout>
|
|
<com.oneclouds.wangluohuoyun.util.view.BaseRecyclerView
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
android:layout_marginBottom="@dimen/dp_24"
|
|
android:id="@+id/brv_driver_home"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_marginTop="@dimen/dp_4"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:background="#fff"
|
|
android:visibility="gone">
|
|
<RelativeLayout
|
|
android:layout_marginTop="@dimen/dp_24"
|
|
android:layout_marginLeft="@dimen/dp_20"
|
|
android:layout_marginRight="@dimen/dp_20"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="司机圈"
|
|
android:textColor="#ff333333"
|
|
android:textSize="@dimen/sp_16"
|
|
android:textStyle="bold"
|
|
/>
|
|
<LinearLayout
|
|
|
|
android:layout_alignParentRight="true"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="更多精彩"
|
|
android:textColor="#ff999999"
|
|
android:textSize="@dimen/sp_14"
|
|
/>
|
|
<ImageView
|
|
android:layout_marginLeft="@dimen/dp_4"
|
|
android:layout_width="@dimen/dp_7"
|
|
android:layout_height="@dimen/dp_12"
|
|
android:src="@mipmap/chevron"
|
|
android:layout_gravity="center"/>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
<com.oneclouds.wangluohuoyun.util.view.BaseRecyclerView
|
|
android:layout_marginTop="@dimen/dp_14"
|
|
android:id="@+id/brv_driver_circle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"/>
|
|
<TextView
|
|
android:id="@+id/version"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="——V2.0.7——"
|
|
android:textSize="@dimen/sp_13"
|
|
android:gravity="center"
|
|
android:layout_marginBottom="@dimen/dp_5"
|
|
android:alpha="0.6"/>
|
|
</LinearLayout>-->
|
|
<include
|
|
layout="@layout/item_order_recommend"/>
|
|
</LinearLayout> |