<LinearLayout 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"
tools:context="com.example.express.MainActivity"
android:orientation="vertical" >
<FrameLayout
android:id="@+id/cont"
android:layout_width="match_parent"
android:layout_height="410dp">
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="54dp"
android:gravity="center_vertical"
android:baselineAligned="true" >
<LinearLayout
android:id="@+id/ask"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_horizontal"
android:background="#ffc0cb"
android:orientation="vertical" >
<TextView
android:id="@+id/tv1"
android:gravity="center_horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="首頁"
android:textSize="17sp" />
</LinearLayout>
<LinearLayout
android:id="@+id/me"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_horizontal"
android:orientation="vertical" >
<TextView
android:id="@+id/tv2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="功能"
android:textSize="17sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<?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="match_parent"
android:orientation="vertical" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="出發"
android:textSize="25sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@drawable/ic_launcher" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="創建配載" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="任務串列" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="封車串列" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="到達"
android:textSize="25sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@drawable/ic_launcher" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="到車解封" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="卸車任務" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="卸車暫存" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="常用"
android:textSize="25sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@drawable/ic_launcher" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="創建盤點" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="復稱檢查" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="叉車分揀" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="配送任務" />
</LinearLayout>
</LinearLayout>
<?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="match_parent"
android:orientation="vertical" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="場內功能"
android:textSize="25sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@drawable/ic_launcher" />
<GridLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:columnCount="3"
android:orientation="horizontal"
android:rowCount="3" >
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="盤點串列" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="盤點差異" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="分撥自提" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="問題件上報" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="無頭件上報" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="同行卸車" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="配送退單" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="單獨系結" />
</GridLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="輔助功能"
android:textSize="25sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@drawable/ic_launcher" />
<GridLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:columnCount="4"
android:orientation="horizontal"
android:rowCount="2" >
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="運單入庫"
android:textSize="12sp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="場內分揀"
android:textSize="12sp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="(舊)卸車掃描"
android:textSize="12sp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="攬貨掃描"
android:textSize="12sp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="例外管理"
android:textSize="12sp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="建包管理"
android:textSize="12sp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="移庫倒貨"
android:textSize="12sp" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="簽到管理"
android:textSize="12sp" />
</GridLayout>
</LinearLayout>
uj5u.com熱心網友回復:
<FrameLayout
android:id="@+id/cont"
android:layout_width="match_parent"
android:layout_height="410dp">
</FrameLayout>
改為
<FrameLayout
android:id="@+id/cont"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
</FrameLayout>
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/244045.html
標籤:Android
