Problems with Relative layout
<p>I am trying to place two components. The first one (Edittext) should expand till the next component (a submit Button). How do I do this? My XML is as follows...
The problem is that the Edittext expands to fill the screen and hides the button:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
</code></pre>

<p></p>

<pre><code>&lt;EditText
            android:id="@+id/etFeedBackText"
            android:hint="What do you think of this app? Any comments or suggestions?"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            android:layout_alignBottom="@id/btnFeedBackSubmit"              
            &gt;       
&lt;/EditText&gt;

&lt;Button
    android:id="@+id/btnFeedBackSubmit"
    android:text="Submit"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_below="@id/etFeedBackText"
    android:layout_alignParentBottom="true"
    &gt;
</code></pre>

<p></p>

<p></p>
