title: Buttons not displayed when using a SurfaceView
body: <p>My gameloop class is extended from a SurfaceView.
  When I try to add a Button either programmaticly or thru XML it is not displayed - I have seen this question asked various times on the net but have found no suitable solutions. Some people have suggested sandwiching the SurfaceView in a FrameLayout but it has made no difference.</p>
  
  <p>I'm surprised more people aren't using regular Buttons in their games and so this question hasn't been answered to death.</p>
  
  <p>Here is my XML: (Engine = Game class that extends a surfaceview)</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"&gt;
  
       &lt;com.game.test.Engine
       android:layout_width="fill_parent"
       android:layout_height="fill_parent"&gt;
       &lt;/com.game.test.Engine&gt;
  
  &lt;LinearLayout android:id="@+id/linearLayout1" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;
  
       &lt;Button
      android:id="@+id/btnReset" 
      android:layout_width="80dp" 
      android:layout_height="40dp" 
      android:text="Reset"
      android:layout_alignParentRight="true"
      android:layout_alignParentBottom="true" 
       android:textColor="#FFFFFF"
      android:background="@drawable/custom_button"
      &gt;&lt;/Button&gt;
   &lt;/LinearLayout&gt; 
  </code></pre>
  
  <p></p>