title: Android videoview with expand and collapse
body: <p>Now I am working on an Android application. In my app I have to play a video in the corner of the screen.I just play the video using videoview.</p>
  
  <pre><code> Uri uri =       Uri.parse(path);
      MediaController mc = new MediaController(this);
      videoView.setMediaController(mc);
      videoView.setVideoURI(uri);
      videoView.start();
  </code></pre>
  
  <p>My requirment is  I have to expand the video in to full screen when clicking on the expand button like IPhone.ANd we have to collapse in to the old screen by clicking collapse button. In IPhone it is a default property. How can I achieve that in android? </p>
  
  <p>For example..first time I am showing the video in a layout with other views . Then If I click the expand button on  videoview I have see the video in full screen also I can collpse back to the original screen.</p>
  
  <p>My doubts are.
  1) add expand button to the videoview
  2) change size of the videoview from fixed size to fullscreen</p>