VideoView taking more space than a layout
<p>The xml File is here:</p>

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

    &lt;VideoView
        android:id="@+id/tvT"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" /&gt;

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

<p>I used this layout in a fragment , here is the fragment xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="horizontal"
    android:weightSum="100" &gt;

    &lt;fragment
        android:id="@+id/view_left"
        android:name="com.powergroupbd.rti.Left"
        android:layout_width="0dp"
        android:layout_height="fill_parent"
        android:layout_weight="35" &gt;
    &lt;/fragment&gt;

    &lt;fragment
        android:id="@+id/view_right"
        android:name="com.powergroupbd.rti.Right"
        android:layout_width="0dp"
        android:layout_height="fill_parent"
        android:layout_weight="65" &gt;
    &lt;/fragment&gt;

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

<p>when I run it on emulator it plays well, but when I run it on real device the videoview takes the whole screen and overlaps to the leftview, how can I fix this?</p>

<pre><code>BTW My video playing codes are here:

    VideoView vv = (VideoView) findViewById(R.id.tvT);

            vv.setVideoPath(string);
            vv.requestFocus();

            vv.start();
</code></pre>
