RelativeLayout - positioning a View under a ViewGroup
<p>I have the following structure defined in an xml layout file.</p>

<pre><code>&lt;RelativeLayout android:id="@+id/mainLayout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;
&lt;FrameLayout android:id="@+id/frame" android:layout_centerInParent="true" android:layout_width="wrap_content" android:layout_height="wrap_content" &gt;&lt;/FrameLayout&gt;
&lt;Button android:id="@+id/button" android:layout_below="@id/frame" android:layout_width="wrap_content" android:layout_height="wrap_content" /&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p>The FrameLayout is positioned correctly in the center of its parent.  But the Button isn't getting positioned under it.  Instead it's displaying in the top left corner.</p>

<p>Am I doing something incorrectly or is this a bug with RelativeLayout?</p>
