1

次の問題があります。

TextView横に があり、そのTextView上に1 つのボタンが 18 個必要です。もちろん、それらはディスプレイに収まらないので、この問題を検索して見つけましたが、18個と異なるIDListViewが必要なため、これはうまくいきません。ButtonsTextViews

あなたが私を助けてくれることを願っています。

4

1 に答える 1

2

use <ScrollView> Note <ScrollView> には直接の子が 1 つだけあります

したがって、次のように使用する必要があり ます。

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

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical" >
        <!--  your contents  are here  -->
    </LinearLayout>

</ScrollView>
于 2013-07-20T19:58:47.897 に答える