title: Show and hide a play button over a VideoView in Android
body: <p>I want to be able to show a button to start a video, centered inside the same view where the video will play (with a VideoView). I also want the button to disappear after I click it, since I'm using the MediaController class to perform Pause, Rewind, Fast-Forward actions once the video has started.</p>
  
  <p>How do I do this?</p>
  
  <p>Here's the layout I have so far:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/LinearLayout1"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"&gt;
  
  &lt;FrameLayout
    android:id="@+id/video_frame"
    android:layout_width="fill_parent"
    android:layout_height="480px"
    android:background="#000"
    &gt;
  
    &lt;VideoView
      android:id="@+id/video_view"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      /&gt;
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>I've tried programmatically adding an ImageButton to the FrameLayout, but that doesn't seem to work. </p>