请在此处查看XML代码:
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">
android:id="@+id/tableRow1"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
/>
android:id="@+id/tableRow2"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
/>
android:id="@+id/tableRow3"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
/>
我的代码比这更长,但是我删除了不必要的部分。问题是我想将此TableLayout设为可滚动显示,以便可以显示所有内容。
我试图将这一行放入TableLayout中,以使其可滚动:
android:isScrollContainer="true"
但是它不能完成任务。 有办法吗?