0

ユーザーが競技会でマークを取得するための画面を作成したいのですが、画面には1つの競技会の各行に行があり、レイアウトにスクロールを配置する必要がありますか?

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" >

    <TableLayout
        android:id="@+id/LL1"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" >





        <TableRow
            android:id="@+id/tableRow1"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:padding="5dip"
            android:weightSum="2" >


            <TextView
                android:id="@+id/tvMarksCompetitionID"
                android:layout_weight="1"
                android:text="Competition"
                android:textAppearance="?android:attr/textAppearanceMedium" />


            <TextView
                android:id="@+id/tvMarksMarks"
                android:layout_weight="1"
                android:text="Marks"
                android:textAppearance="?android:attr/textAppearanceMedium" />


            <TextView
                android:id="@+id/tvMarksQuestionsNum"
                android:layout_weight="1"
                android:text="Questions"
                android:textAppearance="?android:attr/textAppearanceMedium" />
        </TableRow>
    </TableLayout>

</FrameLayout>

そして、その3つのテキストビューの素敵なレイアウトを教えてください:)私はAndroidを初めて使用します

4

1 に答える 1

1

TableLayoutをScrollView内にカプセル化して、レイアウトをスクロール可能にします

于 2012-07-04T20:20:44.180 に答える