您的位置:首页 > 其它

首页布局

2016-03-09 13:03 274 查看
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"

>

<RelativeLayout
android:id="@+id/top"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="#262D40">

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerInParent="true"
android:text="任务"
android:textColor="#ffffff"
android:textSize="20sp" />
</RelativeLayout>

<RelativeLayout
android:id="@+id/kaidan"
android:layout_width="match_parent"
android:layout_height="180dp"
android:background="#262D40">

<ImageView
android:id="@+id/IV_kaidan"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@mipmap/kaidan" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/IV_kaidan"
android:layout_centerHorizontal="true"
android:text="开单"
android:textColor="#ffffff"
android:textSize="25sp" />
</RelativeLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"

>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:id="@+id/iv_songhuo"
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:src="@mipmap/ic_launcher" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/iv_songhuo"
android:layout_centerHorizontal="true"
android:text="待接送货"
android:textColor="#000000"
android:textSize="25sp" />
</LinearLayout>

<View
android:layout_width="1dip"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:background="#ADADAD" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:id="@+id/iv_jiedan"
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:src="@mipmap/ic_launcher" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/iv_jiedan"
android:layout_centerHorizontal="true"
android:text="待接单"
android:textColor="#000000"
android:textSize="25sp" />
</LinearLayout>
</LinearLayout>

<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="#ADADAD"

/>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"

>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:id="@+id/iv_wuliu"
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:src="@mipmap/ic_launcher" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/iv_wuliu"
android:layout_centerHorizontal="true"
android:text="物流追踪"
android:textColor="#000000"
android:textSize="25sp" />
</LinearLayout>

<View
android:layout_width="1dip"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
android:background="#ADADAD" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical">

<ImageView
android:id="@+id/iv_kucun"
android:layout_width="match_parent"
android:layout_height="120dp"
android:layout_weight="1"
android:src="@mipmap/ic_launcher" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/iv_kucun"
android:layout_centerHorizontal="true"
android:text="库存与配载"
android:textColor="#000000"
android:textSize="25sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>

</RelativeLayout>

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: