title: Android Full Width in Video View
body: <p>I am trying to stretch my video view inside the linear layout or relative layout to full screen but the application does not stretches the width of the video view same to android screen.
  There is always 10 to 15 dp space on left and right each. Also the Linear layout and also relative layout  is not stretching to full screen. I want it to fill the screen in width.i have also tried "match_parent" in place of "fill_parent" but the result is same.
  Here is my code</p>
  
  <pre><code> &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res    /android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:background="@drawable/bgsong"
  android:orientation="vertical"
   &gt;
  
  &lt;VideoView
      android:id="@+id/video_view"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_alignParentLeft="true"
      android:layout_alignParentTop="true" /&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>video_player_view = (VideoView) findViewById(R.id.video_view);
      dm = new DisplayMetrics();
      this.getWindowManager().getDefaultDisplay().getMetrics(dm);
      int height = dm.heightPixels;
      int width = dm.widthPixels;
      video_player_view.setMinimumWidth(width);
      video_player_view.setMinimumHeight(height);
      Uri uri = Uri.parse("android.resource://" + getPackageName() + "/" + R.raw.video);
      video_player_view.setVideoURI(uri); 
      video_player_view.start();
  </code></pre>