adding multiple Views to multiple layouts
<p>I want to add ovals to each view that I have but it seems like it only adds it to the first layout.  Any ideas</p>

<p>Here is my xml code</p>

<pre><code>&lt;RelativeLayout
    android:id="@+id/first_plane"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" &gt;
&lt;/RelativeLayout&gt;

&lt;RelativeLayout
    android:id="@+id/second_plane"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" &gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p>These are both inside a LinearLayout</p>

<p>Here is the code that I am trying</p>

<pre><code>DrawOval firstOval = new DrawOval(this, 400, 20, 650, 100); 
firstOval.setBackgroundColor(Color.TRANSPARENT);

ViewGroup firstLayout = (ViewGroup) findViewById(R.id.first_plane);
firstLayout.addView(firstOval);

DrawOval secondOval = new DrawOval(this, 200, 150, 450, 230);
secondOval.setBackgroundColor(Color.TRANSPARENT);

ViewGroup secondLayout = (ViewGroup) findViewById(R.id.second_plane);
secondLayout.addView(secondOval);
</code></pre>

<p>THank you</p>
