Enable full screen video.
[PrivacyBrowser.git] / app / src / main / res / layout / activity_webview.xml
1 <RelativeLayout
2     android:id="@+id/rootRelativeLayout"
3     xmlns:android="http://schemas.android.com/apk/res/android"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent">
6
7         <WebView
8             android:id="@+id/mainWebView"
9             android:layout_width="match_parent"
10             android:layout_height="match_parent"
11             android:focusable="true"
12             android:focusableInTouchMode="true" />
13
14         <!-- fullScreenVideoFrameLayout is used to display full screen videos.  It is initially android:visibility="gone" to hide it from view. -->
15         <FrameLayout
16             android:id="@+id/fullScreenVideoFrameLayout"
17             android:layout_width="match_parent"
18             android:layout_height="match_parent"
19             android:visibility="gone"
20             android:background="#000000" />
21
22 </RelativeLayout>