title: how to set video in full screen
body: <p>hai how set video in full screen now i am attach my screen shot....</p>
  
  <p><img src="https://i.stack.imgur.com/MGGT6.png" alt="alt text"></p>
  
  <p><img src="https://i.stack.imgur.com/ZJbsQ.png" alt="alt text"></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="videothumb.videothumb"
    android:versionCode="1"
    android:versionName="1.0"&gt;
   &lt;application android:icon="@drawable/icon" android:label="@string/app_name"&gt;
      &lt;activity android:name=".videothumb" android:label="@string/app_name"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
  
     &lt;activity android:name="ViewVideo" android:label="@string/app_name"    
        android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"&gt;
     &lt;intent-filter&gt;&lt;action android:name="android.intent.action.VIEW"&gt;&lt;/action&gt;
     &lt;category android:name="android.intent.category.DEFAULT"&gt;&lt;/category&gt;
     &lt;/intent-filter&gt;
     &lt;/activity&gt;
  
     &lt;/application&gt;
     &lt;uses-sdk android:minSdkVersion="8" /&gt;
     &lt;uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"&gt;
     &lt;/uses-permission&gt;
     &lt;/manifest&gt; 
  </code></pre>
  
  <p>ViewVideo.java</p>
  
  <pre><code>package videothumb.videothumb;
  
  
  import android.app.Activity;
  import android.content.Intent;
  import android.media.MediaPlayer;
  import android.os.Bundle;
  import android.view.SurfaceView;
  import android.view.View;
  import android.view.Window;
  import android.view.WindowManager;
  import android.view.View.OnClickListener;
  import android.widget.GridView;
  import android.widget.MediaController;
  import android.widget.VideoView;
  
  public class ViewVideo extends Activity {
    private String filename;
    private VideoView Video;
    @Override
    public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          requestWindowFeature(Window.FEATURE_NO_TITLE);
          getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
              WindowManager.LayoutParams.FLAG_FULLSCREEN);
  
          setContentView(R.layout.main1);
          Video=(VideoView)findViewById(R.id.VideoView01);
          System.gc();
          Intent i = getIntent();
          Bundle extras = i.getExtras();
          filename = extras.getString("videofilename");
          Video.setVideoPath(filename);
          Video.setMediaController(new MediaController(this));
          Video.requestFocus();
          Video.start();
      }
  
    } `
  </code></pre>
  
  <p>xml coding:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:orientation="vertical" 
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"&gt;
  &lt;VideoView 
  android:id="@+id/VideoView01" 
  android:layout_width="fill_parent" 
  android:layout_height="fill_parent"&gt;
  &lt;/VideoView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>