初始化
This commit is contained in:
@@ -0,0 +1,387 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/wode_new"
|
||||
android:orientation="vertical"
|
||||
android:background="@drawable/bg_theme">
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/wode_new_top"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="#fff">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/dang_box"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dang_logo"
|
||||
android:layout_width="@dimen/dp_67"
|
||||
android:layout_height="@dimen/dp_67"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/icon_dang"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_marginTop="@dimen/dp_31"
|
||||
android:id="@+id/dang_title"
|
||||
android:layout_width="@dimen/dp_215"
|
||||
android:layout_height="@dimen/dp_25"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:src="@mipmap/dang_title"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_marginTop="@dimen/dp_70"
|
||||
android:layout_marginRight="@dimen/dp_20"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_13"
|
||||
android:id="@+id/data_box"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="@dimen/dp_54"
|
||||
android:layout_height="@dimen/dp_54">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="@dimen/dp_54"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
app:cardCornerRadius="@dimen/dp_27"
|
||||
android:layout_gravity="center"
|
||||
app:cardElevation="@dimen/dp_0"
|
||||
app:cardBackgroundColor="#CFD3DA">
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:layout_width="@dimen/dp_54"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
app:cardCornerRadius="@dimen/dp_27"
|
||||
android:layout_gravity="center"
|
||||
app:cardElevation="@dimen/dp_0">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/headportraitUrl"
|
||||
android:layout_width="@dimen/dp_54"
|
||||
android:layout_height="@dimen/dp_54"
|
||||
android:src="@mipmap/icon_head_img"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="fitXY"
|
||||
/>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/rz_state"
|
||||
android:layout_marginRight="@dimen/dp_4"
|
||||
android:src="@mipmap/icon_rz"
|
||||
android:layout_width="@dimen/dp_11"
|
||||
android:layout_height="@dimen/dp_11"
|
||||
android:scaleType="fitXY"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_data_auth"
|
||||
android:layout_marginLeft="@dimen/dp_12"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="未认证"
|
||||
android:textColor="#ff999999"
|
||||
android:textSize="@dimen/sp_18"
|
||||
android:textStyle="bold"
|
||||
android:layout_gravity="center"
|
||||
/>
|
||||
<LinearLayout
|
||||
android:id="@+id/data_right_box"
|
||||
android:layout_marginLeft="@dimen/dp_12"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone">
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:id="@+id/rname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="王大河"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_marginLeft="@dimen/dp_8"
|
||||
android:id="@+id/uname"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="15548976215"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:layout_gravity="center"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:id="@+id/dang"
|
||||
android:layout_width="@dimen/dp_53"
|
||||
android:layout_height="@dimen/dp_18"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/dang"
|
||||
android:visibility="gone"/>
|
||||
<ImageButton
|
||||
android:layout_marginLeft="@dimen/dp_7"
|
||||
android:id="@+id/auth_name"
|
||||
android:layout_width="@dimen/dp_53"
|
||||
android:layout_height="@dimen/dp_18"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/icon_name_no"
|
||||
android:background="@null"/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:id="@+id/setup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="设置"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="@dimen/sp_13"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageButton
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_width="@dimen/dp_29"
|
||||
android:layout_height="@dimen/dp_29"
|
||||
android:src="@mipmap/xiaoxi1"
|
||||
android:rotationY="180"
|
||||
android:scaleType="fitXY"
|
||||
android:background="@null"
|
||||
android:layout_centerVertical="true"
|
||||
android:visibility="gone"/>
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/auth_box"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="#fff">
|
||||
<Button
|
||||
android:id="@+id/btn_auth"
|
||||
android:layout_marginTop="@dimen/dp_14"
|
||||
android:layout_marginLeft="@dimen/dp_61"
|
||||
android:layout_marginRight="@dimen/dp_61"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_35"
|
||||
android:text="去认证"
|
||||
android:background="@drawable/bg_btn"
|
||||
android:textColor="#ffffffff"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:gravity="center"
|
||||
/>
|
||||
<TextView
|
||||
android:layout_marginTop="@dimen/dp_3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="认证成功 开始接单"
|
||||
android:textColor="#ff666666"
|
||||
android:textSize="@dimen/sp_10"
|
||||
android:layout_gravity="center"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/order_box"
|
||||
android:layout_marginTop="@dimen/dp_24"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
<RelativeLayout
|
||||
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:id="@+id/brv_order"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="常用功能"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
<com.arpa.hndahesudintocctmsdriver.util.view.BaseRecyclerView
|
||||
android:layout_marginLeft="@dimen/dp_11"
|
||||
android:layout_marginRight="@dimen/dp_11"
|
||||
android:id="@+id/brv_function"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_24"/>
|
||||
</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_16"
|
||||
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/vehicle_all"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
<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:id="@+id/brv_vehicle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_8"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:background="#fff">
|
||||
<TextView
|
||||
android:layout_marginTop="@dimen/dp_16"
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="系统功能"
|
||||
android:textColor="#ff333333"
|
||||
android:textSize="@dimen/sp_16"
|
||||
android:textStyle="bold"
|
||||
/>
|
||||
<com.arpa.hndahesudintocctmsdriver.util.view.BaseRecyclerView
|
||||
android:layout_marginTop="@dimen/dp_14"
|
||||
android:layout_marginLeft="@dimen/dp_11"
|
||||
android:layout_marginRight="@dimen/dp_11"
|
||||
android:id="@+id/brv_system_function"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="@dimen/dp_24"/>
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/version"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="——大河好运,伴您同行——"
|
||||
android:textSize="@dimen/sp_13"
|
||||
android:gravity="center"
|
||||
android:layout_marginBottom="@dimen/dp_5"
|
||||
android:alpha="0.6"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_marginTop="@dimen/dp_4"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/dp_70"/>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user