首页布局
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>
相关文章推荐
- [从头学数学] 第129节 三角形 小结与复习题
- v$session_longops简介
- 使用QtCreator进行Linux内核开发
- python—networkx:各个布局的源代码
- scrapy缺省配置
- Django入门(三) 前端模版语言
- eclipse导入项目不能识别为web项目(java项目转为web项目)
- Rust租借和生命周期深入剖析
- 47-题目1056:最大公约数
- finished with non-zero exit value 2
- python setup.py 上传之后下载
- 结构体指针初始化错误
- 鸡免同笼-高效算法
- UVa 10014 - Simple calculations
- android V7 包导入
- js/jquery使用过程遇到的问题
- getChars的使用方法
- 快速排序
- Gson解析Date格式
- 窗口电压比较器电路设计