0
我在佈局中有很多行,我需要一個部分滾動視圖。我想修復linearlayout和第一個表格,剩下的就是Scrollview。現在,我有這樣的代碼:Partial ScrollView - XML Android
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout>
<TextView
/>
</LinearLayout>
<TableRow
>
<TextView
/>
<TextView
/>
<TextView
/>
</TableRow>
</TableLayout>
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<TableLayout
>
<TableRow
>
<TextView
/>
<TextView
/>
<TextView
/>
</TableRow>
<TableRow
>
<TextView
/>
<TextView
/>
<TextView
/>
</TableRow>
</TableLayout>
</ScrollView>
但是不編譯。我應該如何使用scrollview來實現我的目標?
謝謝:)