How do I center a button between two other buttons?
<p>I am trying to get one line with three buttons on it.  One far left one in the center and one far right.  Ideally I would like the center button to take up all the space between the two side ones.  Right now the center(menu) button just overlaps the left side(prev) button.  Here is what I have now:</p>

<pre><code>&lt;RelativeLayout android:layout_marginTop="-50dip" android:gravity="bottom" android:layout_height="wrap_content" android:layout_width="fill_parent"&gt;
&lt;Button
android:id="@+id/previous_button"
android:layout_height="wrap_content"
android:layout_width="110px"
android:layout_alignParentLeft="true" 
android:text="@string/previous"
/&gt; 

&lt;Button
android:id="@+id/menu"
android:layout_width="wrap_content" 
android:layout_height="wrap_content"
android:scaleType="center" 
android:text="@string/menu"
/&gt; 

&lt;Button
android:id="@+id/next_button"
android:layout_height="wrap_content"
android:layout_width="110px"
android:layout_alignParentRight="true"
android:text="@string/next"
/&gt;        
</code></pre>

<p></p>
