VideoView Full screen in android application
<p>i have a videoview in my application. the code is like this.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;
&lt;LinearLayout android:layout_width="match_parent"
    android:layout_height="match_parent" android:orientation="vertical"
    android:background="@drawable/opsbuds"&gt;
    &lt;TextView android:text="TextView" android:id="@+id/adtxt1"
        android:layout_width="wrap_content" android:layout_height="wrap_content"&gt;&lt;/TextView&gt;
    &lt;VideoView android:layout_width="300dip"
        android:layout_height="250dip" android:id="@+id/videoView11" android:layout_marginLeft="30dip"&gt;&lt;/VideoView&gt;

    &lt;LinearLayout android:layout_width="match_parent"
        android:id="@+id/llv11" android:layout_height="wrap_content"
        android:orientation="vertical"&gt;
    &lt;/LinearLayout&gt;

    &lt;Button android:text=" Continue " android:id="@+id/button1211"
        android:layout_width="wrap_content" android:textStyle="bold"
        android:layout_marginTop="10dp" android:layout_height="wrap_content"
        android:textSize="20dp" android:layout_marginLeft="5dp"
        android:textColor="#800080" android:background="@drawable/button"&gt;&lt;/Button&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p></p>

<p>the video view width and hieght is mentioned in xml file. What i want is , once i press a button the videoview should come on full screen and once i press back button the videoview should go back to its mentioned size. please help?</p>
