0
我有一個XML這是一個不同的XML全屏視頻即使VideoView裏面不同的XML的(用include)
<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>
內內VideoView,但我想這videoview在subLayout2採取全屏時點擊全屏按鈕..請幫助我!