这是我工作的xml代码..现在我想在不改变列表视图的高度的情况下在列表视图下添加两个文本视图和一个按钮。无法在列表视图下方添加文字视图和按钮使用
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/linearlayout"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ListView
android:id="@+id/orderlist"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:divider="#778899"
android:dividerHeight="1dp" >
</ListView>
<LinearLayout
android:id="@+id/layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="vertical" >
<include layout="@layout/footer" />
</LinearLayout>
</RelativeLayout>
的RelativeLayout不需要取向。 – Piyush 2014-12-03 10:45:16
但没有页脚....? – yamuna 2014-12-03 10:47:08