205 lines
8.1 KiB
XML
205 lines
8.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.core.widget.NestedScrollView 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:fillViewport="true">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_275"
|
|
android:background="@drawable/home_top_bg"
|
|
android:orientation="vertical"
|
|
android:paddingLeft="@dimen/dp_14"
|
|
android:paddingTop="@dimen/dp_46"
|
|
android:paddingRight="@dimen/dp_14"
|
|
|
|
>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_87"
|
|
android:layout_height="@dimen/dp_21"
|
|
android:background="@drawable/home_logo" />
|
|
|
|
<View
|
|
android:layout_width="@dimen/dp_1"
|
|
android:layout_height="@dimen/dp_14"
|
|
android:layout_marginLeft="@dimen/dp_8"
|
|
android:layout_marginRight="@dimen/dp_8"
|
|
android:background="@color/white" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="河南日报报业集团旗下APP"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/sp_12">
|
|
|
|
</TextView>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_marginTop="@dimen/dp_18"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:drawableLeft="@drawable/icon_driver"
|
|
android:drawablePadding="@dimen/dp_4"
|
|
android:paddingLeft="@dimen/dp_20"
|
|
android:text="交易安全可靠"
|
|
android:textColor="@color/color_9"
|
|
android:textSize="@dimen/sp_10" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:drawableLeft="@drawable/icon_trade"
|
|
android:drawablePadding="@dimen/dp_4"
|
|
android:paddingLeft="@dimen/dp_20"
|
|
android:text="司机实名认证"
|
|
android:textColor="@color/color_9"
|
|
android:textSize="@dimen/sp_10" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:drawableLeft="@drawable/icon_safe"
|
|
android:drawablePadding="@dimen/dp_4"
|
|
android:paddingLeft="@dimen/dp_20"
|
|
android:text="平台安全放心"
|
|
android:textColor="@color/color_9"
|
|
android:textSize="@dimen/sp_10" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/dp_116"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="@dimen/dp_14"
|
|
android:paddingRight="@dimen/dp_14">
|
|
|
|
<ImageView
|
|
android:id="@+id/ivNor"
|
|
android:layout_width="@dimen/dp_160"
|
|
android:layout_height="@dimen/dp_96"
|
|
android:background="@drawable/home_all" />
|
|
|
|
|
|
<View
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="1dp"
|
|
android:layout_weight="1" />
|
|
|
|
<ImageView
|
|
android:id="@+id/ivMul"
|
|
android:layout_width="@dimen/dp_160"
|
|
android:layout_height="@dimen/dp_96"
|
|
android:background="@drawable/home_my" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_42"
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
android:layout_marginTop="@dimen/dp_20"
|
|
android:layout_marginRight="@dimen/dp_14"
|
|
android:background="@drawable/marquee_bg"
|
|
android:gravity="center_vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_28"
|
|
android:layout_height="@dimen/dp_28"
|
|
android:background="@drawable/kuaixun" />
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_18"
|
|
android:layout_height="@dimen/dp_18"
|
|
android:layout_marginLeft="@dimen/dp_13"
|
|
android:background="@drawable/bobao" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvMar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="@dimen/dp_2"
|
|
android:ellipsize="marquee"
|
|
android:focusable="true"
|
|
android:focusableInTouchMode="true"
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
android:scrollHorizontally="true"
|
|
android:singleLine="true"
|
|
android:text="急啊卡省的JFK垃圾上单克里夫喀什酱豆腐卡拉就圣诞快乐房价爱上了夫卡是考虑到房价爱上了">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dp_22"
|
|
android:layout_marginLeft="@dimen/dp_14"
|
|
android:layout_marginTop="@dimen/dp_20">
|
|
|
|
<ImageView
|
|
android:layout_width="@dimen/dp_50"
|
|
android:layout_height="@dimen/dp_8"
|
|
android:layout_alignParentBottom="true"
|
|
android:background="@drawable/title_bg" />
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="货源列表"
|
|
android:textColor="@color/black"
|
|
android:textSize="@dimen/sp_18"
|
|
android:textStyle="bold"
|
|
|
|
/>
|
|
|
|
</RelativeLayout>
|
|
|
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
|
android:id="@+id/refresh"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recyclerView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingLeft="@dimen/dp_14"
|
|
android:paddingRight="@dimen/dp_14" />
|
|
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView> |