Video screen is stretched vertically
<p>I am working in android. I am using VideoView. Its stretched vertically when orientation is Portrait mode.</p>

<p>This is my xml:-</p>

<p>
</p>

<pre><code>&lt;RelativeLayout
    android:id="@+id/lineartop"
    android:layout_width="fill_parent"
    android:layout_height="50dip"
    android:layout_alignParentTop="true"
    android:layout_marginTop="-5dip"
    android:background="@drawable/tab" &gt;

    &lt;TextView
        android:id="@+id/fileNametitle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true"
        android:gravity="center"
        android:textColor="#FFFFFF"
        android:textSize="20dip" /&gt;
&lt;/RelativeLayout&gt;


&lt;VideoView
    android:id="@+id/videoId"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_centerVertical="true"
    android:fitsSystemWindows="true"
    android:layout_marginBottom="5dip"
    android:layout_centerHorizontal="true"
    android:layout_above="@+id/VedioFooter"
    android:layout_below="@+id/lineartop" /&gt;

&lt;include android:id="@+id/VedioFooter"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    layout="@layout/bottom_layout_without_full_window_button" /&gt;

&lt;/RelativeLayout&gt;
</code></pre>

<p>please suggest me what should i do to show my video correctly in Portrait mode also.</p>
