I have a VideoView inside a xml which is inside a different xml
<main.xml
    <include layout = "@layout/subLayou1"/> >
</main>
<subLayout1.xml
    <include layout = "@layout/subLayout2"/> >
</subLayout1>
<subLayout2.xml
    <VideoView
        android:id="@+id/videoView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:layout_alignParentBottom="true"
        android:layout_alignParentTop="true"
        android:layout_centerInParent="true"
        android:background="@android:color/transparent" />
    <Button  for full screen />
</subLayout2>
but i want this videoview in subLayout2 to take full-screen when a full screen button is clicked.. please help me out!!