title: Android VideoView black screen
body: <p>I have been looking for a way to get rid of the nasty black initial screen on a VideoView before the <code>start()</code> method is run.</p>
  <p>I have tried with background image on the widget but it doesn't work as expected at all.
  I have also tried putting an image of the first frame in the video on top of the VideoView and hiding it after the <code>start()</code> method.
  Adding an onPrepared listener to start the video and then hide the image. This works but there is a horrible flicker in the transition and I don't know how to get rid of it.</p>
  <hr />
  <p>Adding the MediaController had no effect at all. The problem persists (I still see the black flicker) and I don't want to have the video controls visible at all.
  My code looks like this:</p>
  <pre><code>    VideoView vSurface= (VideoView) findViewById(R.id.surfaceView1);
      vSurface.setVideoURI(Uri.parse(&quot;android.resource://com.mypackage/&quot; + R.raw.video1));
      vSurface.setVisibility(View.VISIBLE);
      vSurface.setOnPreparedListener(this);
      vSurface.setDrawingCacheEnabled(true);
      vSurface.setOnErrorListener(this);
  </code></pre>