How to put Custom View above built in views in Android?
<p>I am developing a small app for Android. I am creating my own view.</p>

<p>I am planning to design the layout to be:</p>

<pre><code>&lt;LinearLayout&gt;
   &lt;MyView&gt;
   &lt;Button&gt;&lt;Button&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>But when I run my program, my custom view will cover the whole screen. Is there anyway to avoid this?</p>

<p>I have already tried to add <code>android:layout_width</code>, <code>layout_height</code> to be <code>wrap_content</code>, <code>fill_partent</code>, but no luck.</p>
