videoview right side white space
<p>i can't remove the white space of my video preview i already added all the alignparent but still dont work. it's source is from a server. the video has no white space in it.</p>

<p>here is my layout:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context="com.extras.PermitVideoFrag"&gt;

    &lt;VideoView
        android:id="@+id/vid_permit"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_alignParentRight="true"
        android:layout_alignParentTop="true"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true"
        android:layout_alignParentStart="true"
        android:layout_centerHorizontal="true" 
       /&gt;
&lt;/RelativeLayout&gt;
</code></pre>

<p>its really frustrating me now. i can't find a decent answer.</p>