I'm trying to make a page with a listview that has some textviews and buttons beneath. I don't want it anchored at the bottom unless it would be pushed off otherwise. I was thinking of trying a relative layout with the listview aligned above a linearlayout but for some reason it doesn't show up at all
Code is
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/feet">
</ListView>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:id="@id/feet"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:id="@+id/total"
android:textSize="32sp"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:id="@+id/funds"
android:textSize="32sp"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/buy"
android:id="@+id/buyB"
android:textSize="32sp"
android:onClick="confirmTrans"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/cancel"
android:id="@+id/canc"
android:textSize="32sp"
android:onClick="cancelTrans"
/>
</LinearLayout>
</RelativeLayout>