<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent" android:layout_height="fill_parent">
    <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
         android:layout_width="fill_parent" android:layout_height="fill_parent"
        android:stretchColumns="1">
         <TableRow>
        <EditText ../>
        <EditText .../>
    </TableRow>
         <TableRow>
        <EditText ../>
        <EditText .../>
    </TableRow>
         <ListView android:layout_height="0"
                   android:layout_weight="1"/>
    </TableLayout>
</ScrollView>

解决方案 »

  1.   

    设置android:layout_weight="1"了也不可以.
      

  2.   

    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="vertical" 
        android:layout_width="fill_parent" 
        android:layout_height="fill_parent" 
        android:fillViewport="true">
      

  3.   

    但有个疑问,一切屏后.列表的显示就会有问题了.
    就是即使有全屏的ScrollView,拉到最低,也不能完全显示listview.
      

  4.   


    应该可以的,你可以参考SDK内的联系人代码