<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/background_main" >

    <RelativeLayout
        android:id="@+id/relativeLayout1"
        android:layout_width="wrap_content"
        android:layout_height="60dp"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true" >

        <ImageButton
            android:id="@+id/imageButtonEditCaptionReturn"
            android:layout_width="60dp"
            android:layout_height="60dp"
            android:layout_alignParentLeft="true"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10dp"
            android:background="@drawable/selector_linearlayout_small_button"
            android:paddingLeft="15dp"
            android:paddingRight="15dp"
            android:scaleType="fitCenter"
            android:src="@drawable/edit_caption_return_gray_noborder" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_centerVertical="true"
            android:text="商品条目"
            android:textColor="#000000"
            android:textSize="15dp" />

        <ImageButton
            android:id="@+id/imageButtonEditCaptionPrint"
            android:layout_width="60dp"
            android:layout_height="60dp"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:layout_marginRight="10dp"
            android:background="@drawable/selector_linearlayout_small_button"
            android:padding="10dp"
            android:scaleType="fitCenter"
            android:src="@drawable/edit_caption_print_gray_noborder"
            android:visibility="invisible" />
    </RelativeLayout>

    <!-- background=CCFFFF -->

    <HorizontalScrollView
        android:id="@+id/horizontalScrollView1"
        android:layout_width="match_parent"
        android:layout_height="80dp"
        android:layout_alignLeft="@+id/relativeLayout1"
        android:layout_below="@+id/relativeLayout1"
        android:background="#FFFFFF"
        android:fillViewport="true"
        android:padding="5dp"
        android:scrollbars="none" >

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

            <LinearLayout
                android:id="@+id/linearLayoutEditInsertGood1"
                android:layout_width="100dp"
                android:layout_height="wrap_content"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp" >

                <ImageButton
                    android:id="@+id/imageButtonEditInsertGood1"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_insert_picture_gray_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="I类商品"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutEditInsertGood2"
                android:layout_width="100dp"
                android:layout_height="wrap_content"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonEditInsertGood2"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_insert_plaintext_color_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="II类商品"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutEditInsertHardtext"
                android:layout_width="60dp"
                android:layout_height="wrap_content"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonEditInsertHardtext"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_insert_hardtext_color_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="@string/hardtext"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutEditInsertBarcode"
                android:layout_width="60dp"
                android:layout_height="wrap_content"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonEditInsertBarcode"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_insert_barcode_black_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="@string/barcode"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutEditInsertQRCode"
                android:layout_width="60dp"
                android:layout_height="wrap_content"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonEditInsertQRCode"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_insert_qrcode_black_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="@string/qrcode"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutEditInsertPDF417"
                android:layout_width="60dp"
                android:layout_height="wrap_content"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonEditInsertPDF417"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_insert_pdf417_black_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="@string/pdf417"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutEditInsertBox"
                android:layout_width="60dp"
                android:layout_height="wrap_content"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonEditInsertBox"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_insert_box_black_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="@string/box"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutEditInsertLine"
                android:layout_width="60dp"
                android:layout_height="wrap_content"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonEditInsertLine"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_insert_line_black_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="@string/line"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutEditInsertRectangle"
                android:layout_width="60dp"
                android:layout_height="wrap_content"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonEditInsertRectangle"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_insert_rectangle_black_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="@string/rect"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>
        </LinearLayout>
    </HorizontalScrollView>

    <TableLayout
        android:id="@+id/tableLayout1"
        android:layout_width="wrap_content"
        android:layout_height="80dp"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:background="#FFFFFF"
        android:padding="5dp"
        android:stretchColumns="*" >

        <TableRow
            android:id="@+id/tableRow1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content" >

            <LinearLayout
                android:id="@+id/linearLayoutDataClear"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp" >

                <ImageButton
                    android:id="@+id/imageButtonDataClear"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_file_new_gray_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="清空"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutDataLoad"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp" >

                <ImageButton
                    android:id="@+id/imageButtonDataLoad"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_file_open_gray_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="导入"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutDataExport"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp" >

                <ImageButton
                    android:id="@+id/imageButtonDataExport"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_file_save_gray_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="导出"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutFilePaperSet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonFilePaperSet"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_file_paperset_gray_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="@string/paper"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>

            <LinearLayout
                android:id="@+id/linearLayoutFileSettings"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:background="@drawable/selector_linearlayout_small_button"
                android:clickable="true"
                android:orientation="vertical"
                android:padding="5dp"
                android:visibility="gone" >

                <ImageButton
                    android:id="@+id/imageButtonFileSettings"
                    android:layout_width="40dp"
                    android:layout_height="40dp"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:scaleType="fitCenter"
                    android:src="@drawable/edit_file_settings_gray_noborder" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:background="#00000000"
                    android:clickable="false"
                    android:text="@string/settings"
                    android:textColor="#000000"
                    android:textSize="15dp" />
            </LinearLayout>
        </TableRow>
    </TableLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true"
        android:layout_marginBottom="80dp"
        android:layout_marginTop="140dp"
        android:fillViewport="true" >

        <ListView
            android:id="@+id/listViewData"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_margin="20dp"
            android:padding="0dp"
            android:scrollbars="none" >
        </ListView>
    </LinearLayout>

</RelativeLayout>