我有一個tableview,我想滾動,因爲數據沒有顯示完整。如何在android中滾動tableview
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="0,1,2,3,4"
android:id="@+id/maintable" >
</TableLayout>
這是我tablelayout,如果我在<ScrollView> </Scrollview>
應用crashs包裹它,如果我打開活動。怎麼做?
android listview直接滾動時,列表大於大小,所以你有沒有嘗試把許多行在表視圖? – Siten 2011-03-22 13:09:15
不,我以爲我必須使用tablelayout這個?因爲我只顯示一張桌子? ^^ – Mark 2011-03-22 13:18:38
你可以把你的完整的XML文件? – 2011-03-22 13:22:47