Посмотрите на код XML здесь, пожалуйста:
<TableLayout
android:id="@+id/tableLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="10dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<TableRow
android:id="@+id/tableRow1"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<!-- Some stuff goes here -->
/>
</TableRow>
<TableRow
android:id="@+id/tableRow2"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<!-- Some stuff goes here -->
/>
</TableRow>
<TableRow
android:id="@+id/tableRow3"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<!-- Some stuff goes here -->
/>
</TableRow>
</TableLayout>
Мой код намного длиннее, чем я, но я просто исключил ненужные части.
Проблема в том, что я хочу прокрутить эту прокрутку TableLayout
, чтобы показать все мои вещи.
Я попытался поместить эту строку в TableLayout
, чтобы сделать ее прокручиваемой:
android:isScrollContainer="true"
Но он НЕ выполняет эту работу. Есть ли способ?