<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>
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>
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fillViewport="true">
就是即使有全屏的ScrollView,拉到最低,也不能完全显示listview.
应该可以的,你可以参考SDK内的联系人代码