TableLayout表格布局

本文详细介绍了仓库作业管理界面的设计方案,包括表头、表头表格布局、A8至A10及A6表的数据填充部分。每个表格展示了提货、检品作业的进度、数量、人员配置、计划与实际进度对比、总数、已完成数、效率和人员配置等关键信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


<?xml version="1.0" encoding="utf-8"?>
<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"
    android:orientation="vertical"
    tools:context=".MainActivity">

    <!---表头-->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="fill_parent"
        android:layout_weight="11"
        android:orientation="horizontal">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_weight="3">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@drawable/barder_all">

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:gravity="center"
                        android:text="仓库"
                        android:textColor="#000"
                        android:textSize="15dp" />
                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1"
                    android:background="@drawable/barder_all"
                    android:orientation="vertical">

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="作业"
                        android:textColor="#000"
                        android:textSize="15dp" />

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="类型"
                        android:textColor="#000"
                        android:textSize="15dp" />
                  </LinearLayout>

                </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1">
        <!--- 表头 表格布局-->
        <TableLayout
            android:layout_width="match_parent"
            android:layout_height="fill_parent">

            <TableRow android:layout_weight="1" >
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_weight="1"
                        android:background="@drawable/barder_all"
                        android:gravity="center"
                        android:maxEms="1"
                        android:maxLines="1"
                        android:text="进度"
                        android:textColor="#000"
                        android:textSize="10dp" />

                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1">

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_weight="1"
                        android:background="@drawable/barder_all"
                        android:gravity="center"
                        android:maxEms="1"
                        android:maxLines="1"
                        android:text="数量"
                        android:textColor="#000"
                        android:textSize="10dp" />
                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_weight="1"
                        android:background="@drawable/barder_all"
                        android:gravity="center"
                        android:maxEms="1"
                        android:maxLines="1"
                        android:text="人员配置"
                        android:textColor="#000"
                        android:textSize="10dp" />

                </LinearLayout>

            </TableRow>

            <TableRow
                android:layout_weight="1" >
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_weight="1"
                        android:background="@drawable/barder_all"
                        android:gravity="center"
                        android:maxEms="1"
                        android:maxLines="1"
                        android:text="计划"
                        android:textColor="#000"
                        android:textSize="10dp" />

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_weight="1"
                        android:background="@drawable/barder_all"
                        android:maxEms="1"
                        android:maxLines="1"
                        android:gravity="center"
                        android:text="实际"
                        android:textColor="#000"
                        android:textSize="10dp" />
                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_weight="1"
                        android:background="@drawable/barder_all"
                        android:gravity="center"
                        android:maxEms="1"
                        android:maxLines="1"
                        android:text="总数"
                        android:textColor="#000"
                        android:textSize="10dp" />

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_weight="1"
                        android:background="@drawable/barder_all"
                        android:gravity="center"
                        android:maxEms="1"
                        android:maxLines="1"
                        android:text="已完成数"
                        android:textColor="#000"
                        android:textSize="10dp" />
                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_weight="1"
                        android:background="@drawable/barder_all"
                        android:gravity="center"
                        android:maxEms="1"
                        android:maxLines="1"
                        android:text="效率"
                        android:textColor="#000"
                        android:textSize="10dp" />
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="fill_parent"
                        android:layout_weight="1"
                        android:background="@drawable/barder_all"
                        android:maxEms="1"
                        android:maxLines="1"
                        android:gravity="center"
                        android:text="人数"
                        android:textColor="#000"
                        android:textSize="10dp" />
                </LinearLayout>
            </TableRow>
        </TableLayout>
        </LinearLayout>
    </LinearLayout>

  <!--A8 A9 A10 A6 表 和 需要填充的数据  -->
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:orientation="vertical">
        <!---A8 表格布局-->
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:orientation="horizontal"
            android:background="@drawable/barder_all">
           <LinearLayout
               android:layout_width="match_parent"
               android:layout_height="match_parent"
               android:layout_weight="3">
               <LinearLayout
                   android:layout_width="match_parent"
                   android:layout_height="match_parent"
                   android:layout_weight="1"
                   android:background="@drawable/barder_all">
                   <TextView
                       android:layout_width="match_parent"
                       android:layout_height="wrap_content"
                       android:layout_gravity="center"
                       android:gravity="center"
                       android:text="A8"
                       android:textColor="#000"
                       android:textSize="15dp" />
               </LinearLayout>
               <LinearLayout
                   android:layout_width="match_parent"
                   android:layout_height="fill_parent"
                   android:layout_weight="1"
                   android:orientation="vertical">
                   <TextView
                       android:layout_width="match_parent"
                       android:layout_height="wrap_content"
                       android:layout_weight="1"
                       android:gravity="center"
                       android:text="提货"
                       android:textColor="#000"
                       android:background="@drawable/barder_all"
                       android:textSize="15dp" />

                   <TextView
                       android:layout_width="match_parent"
                       android:layout_height="wrap_content"
                       android:layout_weight="1"
                       android:gravity="center"
                       android:text="检品"
                       android:textColor="#000"
                       android:background="@drawable/barder_all"
                       android:textSize="15dp" />
               </LinearLayout>
           </LinearLayout>

            <!---A8 需要填充的数据-->
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="1">

              <TableLayout
                android:layout_width="match_parent"
                android:layout_height="fill_parent">
                  <!---提货行-->
                  <TableRow android:layout_weight="1" >
                      <!---计划   实际-->
                      <LinearLayout
                          android:layout_width="match_parent"
                          android:layout_height="fill_parent"
                          android:layout_weight="1">

                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:gravity="center"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:text="60%"
                              android:textColor="#000"
                              android:textSize="10dp" />

                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:gravity="center"
                              android:text="50%"
                              android:textColor="#000"
                              android:textSize="10dp" />
                      </LinearLayout>
                      <!---总数 和 已完成数-->
                      <LinearLayout
                          android:layout_width="match_parent"
                          android:layout_height="fill_parent"
                          android:layout_weight="1">
                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:gravity="center"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:text="800"
                              android:textColor="#000"
                              android:textSize="10dp" />

                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:gravity="center"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:text="555"
                              android:textColor="#000"
                              android:textSize="10dp" />
                      </LinearLayout>
                      <!---效率 人数-->
                      <LinearLayout
                          android:layout_width="match_parent"
                          android:layout_height="fill_parent"
                          android:layout_weight="1">
                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:gravity="center"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:text="上升"
                              android:textColor="#000"
                              android:textSize="10dp" />
                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:gravity="center"
                              android:text="多100人"
                              android:textColor="#000"
                              android:textSize="10dp" />
                      </LinearLayout>

                  </TableRow>
                  <!---检验品行-->
                  <TableRow android:layout_weight="1" >

                      <!---计划  实际-->
                      <LinearLayout
                          android:layout_width="match_parent"
                          android:layout_height="fill_parent"
                          android:layout_weight="1">
                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:gravity="center"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:text="60%"
                              android:textColor="#000"
                              android:textSize="10dp" />

                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:gravity="center"
                              android:text="50%"
                              android:textColor="#000"
                              android:textSize="10dp" />
                      </LinearLayout>
                      <!---总数   已完成数-->
                      <LinearLayout
                          android:layout_width="match_parent"
                          android:layout_height="fill_parent"
                          android:layout_weight="1">
                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:gravity="center"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:text="800"
                              android:textColor="#000"
                              android:textSize="10dp" />

                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:gravity="center"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:text="555"
                              android:textColor="#000"
                              android:textSize="10dp" />
                      </LinearLayout>

                      <!---效率  人数-->
                      <LinearLayout
                          android:layout_width="match_parent"
                          android:layout_height="fill_parent"
                          android:layout_weight="1">
                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:gravity="center"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:text="上升"
                              android:textColor="#000"
                              android:textSize="10dp" />
                          <TextView
                              android:layout_width="match_parent"
                              android:layout_height="fill_parent"
                              android:layout_weight="1"
                              android:background="@drawable/barder_all"
                              android:maxEms="1"
                              android:maxLines="1"
                              android:gravity="center"
                              android:text="多10人"
                              android:textColor="#000"
                              android:textSize="10dp" />
                      </LinearLayout>
                   </TableRow>
                 </TableLayout>
            </LinearLayout>
        </LinearLayout>

        <!---A9 表格布局-->
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:orientation="horizontal"
            android:background="@drawable/barder_all">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="3">
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@drawable/barder_all">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:gravity="center"
                        android:text="A9"
                        android:textColor="#000"
                        android:textSize="15dp" />
                </LinearLayout>
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="提货"
                        android:textColor="#000"
                        android:background="@drawable/barder_all"
                        android:textSize="15dp" />

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="检品"
                        android:textColor="#000"
                        android:background="@drawable/barder_all"
                        android:textSize="15dp" />
                </LinearLayout>
            </LinearLayout>

            <!---A9 需要填充的数据-->
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="1">

                <TableLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent">
                    <!---提货行-->
                    <TableRow android:layout_weight="1" >
                        <!---计划   实际-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="60%"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="50%"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                        <!---总数 和 已完成数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="800"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="555"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                        <!---效率 人数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="上升"
                                android:textColor="#000"
                                android:textSize="10dp" />
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="多100人"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>

                    </TableRow>
                    <!---检验品行-->
                    <TableRow android:layout_weight="1" >

                        <!---计划  实际-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="60%"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="50%"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                        <!---总数   已完成数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="800"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="555"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>

                        <!---效率  人数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="上升"
                                android:textColor="#000"
                                android:textSize="10dp" />
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="多10人"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                    </TableRow>
                </TableLayout>
            </LinearLayout>
        </LinearLayout>

        <!---A10 表格布局-->
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:orientation="horizontal"
            android:background="@drawable/barder_all">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="3">
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@drawable/barder_all">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:gravity="center"
                        android:text="A10"
                        android:textColor="#000"
                        android:textSize="15dp" />
                </LinearLayout>
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="提货"
                        android:textColor="#000"
                        android:background="@drawable/barder_all"
                        android:textSize="15dp" />

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="检品"
                        android:textColor="#000"
                        android:background="@drawable/barder_all"
                        android:textSize="15dp" />
                </LinearLayout>
            </LinearLayout>

            <!---A10 需要填充的数据-->
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="1">

                <TableLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent">
                    <!---提货行-->
                    <TableRow android:layout_weight="1" >
                        <!---计划   实际-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="60%"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="50%"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                        <!---总数 和 已完成数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="800"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="555"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                        <!---效率 人数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="上升"
                                android:textColor="#000"
                                android:textSize="10dp" />
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="多100人"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>

                    </TableRow>
                    <!---检验品行-->
                    <TableRow android:layout_weight="1" >

                        <!---计划  实际-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="60%"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="50%"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                        <!---总数   已完成数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="800"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="555"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>

                        <!---效率  人数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="上升"
                                android:textColor="#000"
                                android:textSize="10dp" />
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="多10人"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                    </TableRow>
                </TableLayout>
            </LinearLayout>
        </LinearLayout>

        <!---A6 表格布局-->

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1"
            android:orientation="horizontal"
            android:background="@drawable/barder_all">
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="3">
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
                    android:background="@drawable/barder_all">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_gravity="center"
                        android:gravity="center"
                        android:text="A6"
                        android:textColor="#000"
                        android:textSize="15dp" />
                </LinearLayout>
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent"
                    android:layout_weight="1"
                    android:orientation="vertical">
                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="提货"
                        android:textColor="#000"
                        android:background="@drawable/barder_all"
                        android:textSize="15dp" />

                    <TextView
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:gravity="center"
                        android:text="检品"
                        android:textColor="#000"
                        android:background="@drawable/barder_all"
                        android:textSize="15dp" />
                </LinearLayout>
            </LinearLayout>

            <!---A6 需要填充的数据-->
            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_weight="1">

                <TableLayout
                    android:layout_width="match_parent"
                    android:layout_height="fill_parent">
                    <!---提货行-->
                    <TableRow android:layout_weight="1" >
                        <!---计划   实际-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="60%"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="50%"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                        <!---总数 和 已完成数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="800"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="555"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                        <!---效率 人数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="上升"
                                android:textColor="#000"
                                android:textSize="10dp" />
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="多100人"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>

                    </TableRow>
                    <!---检验品行-->
                    <TableRow android:layout_weight="1" >

                        <!---计划  实际-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="60%"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="50%"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                        <!---总数   已完成数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="800"
                                android:textColor="#000"
                                android:textSize="10dp" />

                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="555"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>

                        <!---效率  人数-->
                        <LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="fill_parent"
                            android:layout_weight="1">
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:gravity="center"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:text="上升"
                                android:textColor="#000"
                                android:textSize="10dp" />
                            <TextView
                                android:layout_width="match_parent"
                                android:layout_height="fill_parent"
                                android:layout_weight="1"
                                android:background="@drawable/barder_all"
                                android:maxEms="1"
                                android:maxLines="1"
                                android:gravity="center"
                                android:text="多10人"
                                android:textColor="#000"
                                android:textSize="10dp" />
                        </LinearLayout>
                    </TableRow>
                </TableLayout>
            </LinearLayout>
        </LinearLayout>
    </LinearLayout>
</LinearLayout>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值