Xml文件  |  112行  |  3.48 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2011, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
**     http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/added_content"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    >

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        >
        <Button
            android:id="@+id/button1"
            android:layout_width="20dip"
            android:layout_height="20dip"
            android:text="@string/button1"
            android:textSize="10dip"
        />
        <Button
            android:id="@+id/button2"
            android:layout_width="20dip"
            android:layout_height="20dip"
            android:text="@string/button2"
            android:textSize="10dip"
        />
        <Button
            android:id="@+id/button3"
            android:layout_width="20dip"
            android:layout_height="20dip"
            android:text="@string/button3"
            android:textSize="10dip"
        />
    </LinearLayout>

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        >
        <Button
            android:id="@+id/button4"
            android:layout_width="20dip"
            android:layout_height="20dip"
            android:text="@string/button4"
            android:textSize="10dip"
        />
        <Button
            android:id="@+id/button5"
            android:layout_width="20dip"
            android:layout_height="20dip"
            android:text="@string/button5"
            android:textSize="10dip"
        />
        <Button
            android:id="@+id/button6"
            android:layout_width="20dip"
            android:layout_height="20dip"
            android:text="@string/button6"
            android:textSize="10dip"
            android:contentDescription="@string/contentDescription"
        />
    </LinearLayout>

    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        >
        <Button
            android:id="@+id/button7"
            android:layout_width="20dip"
            android:layout_height="20dip"
            android:text="@string/button7"
            android:textSize="10dip"
        />
        <Button
            android:id="@+id/button8"
            android:layout_width="20dip"
            android:layout_height="20dip"
            android:text="@string/button8"
            android:textSize="10dip"
        />
        <Button
            android:id="@+id/button9"
            android:layout_width="20dip"
            android:layout_height="20dip"
            android:text="@string/button9"
            android:textSize="10dip"
        />
    </LinearLayout>

</LinearLayout>