How can I make a ListView fit between a Button and ImageView vertically
<p>I am trying to create a ListView which fits between a Button and an ImageView.
I have a RelativeLayout which has a Button at the top and an ImageView at the bottom.
I want a ListView between them. This is what I have done.</p>

<p>I see my listView under the Button, but it is overlapping with the ImageView at the bottom.
So how can I make it so that the ListView above the ImageView? </p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/control_panel"
        android:layout_width="@dimen/mywidth"
        android:layout_height="match_parent"
        android:orientation="vertical"&gt;

        &lt;Button android:id="@+id/button"
            android:layout_height="@dimen/button_size"
            android:layout_width="@dimen/button_size"
            android:scaleType="center"
            android:layout_alignParentRight="true"
            android:layout_alignParentTop="true"
            android:background="@drawable/btn_shutter" /&gt;

        &lt;ListView android:id="@+id/image_list"
            android:layout_width="@dimen/button_size"
            android:layout_height="wrap_content"
            android:drawSelectorOnTop="false"
            android:layout_above="@+id/image"
            android:layout_below="@+id/button"/&gt;

        &lt;ImageView
           android:id="@+id/image"
           android:layout_width="@dimen/mywidth"
           android:layout_height="@dimen/image_height"
           android:layout_alignParentRight="true"
           android:layout_alignParentBottom="true"/&gt;

&lt;/RelativeLayout&gt;
</code></pre>
