<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="50dip"
android:background="#606060"
android:text="顶部" />
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="1"
/>
<TextView
android:layout_width="fill_parent"
android:layout_height="50dip"
android:background="#606060"
android:text="底部" />
</LinearLayout>
android页面布局 中间的listView填充剩余部分
猜你喜欢
转载自wcq20071334.iteye.com/blog/2342938
今日推荐
周排行