2

アプリケーションでこのタイプのビューを作成したいと考えています。私はあなたの誰かがこの問題に直面していることを知っています..Androidでここに画像の説明を入力このタイプのビュー(画面)を作成する方法を教えてください...

4

1 に答える 1

0

以下のコードを使用してみてください。問題が解決することを願っています。

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="0dip"
    android:layout_weight="1"
    android:orientation="horizontal"
    android:weightSum="3" >

    <LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="0dip"
        android:layout_height="match_parent"
        android:layout_weight="1" >

        <TextView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="LinearLayout1" />
    </LinearLayout>

    <LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="0dip"
        android:layout_height="match_parent"
        android:layout_weight="1" >

        <TextView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="LinearLayout2" />
    </LinearLayout>

    <LinearLayout
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="0dip"
        android:layout_height="match_parent"
        android:layout_weight="1"
        android:orientation="horizontal" >

        <TextView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:text="LinearLayout3" />
    </LinearLayout>
</LinearLayout>

<ListView
    android:layout_width="match_parent"
    android:layout_height="0dip"
    android:layout_weight="9" >
</ListView>

于 2013-06-14T08:15:02.053 に答える