android:layout_width="match_parent">
<!-- android:fitsSystemWindows="true" moves rootCoordinatorLayout below the system status bar.
- When it is specified the theme should include <item name="android:windowTranslucentStatus">true</item>.
- Setting the layout root to be focusableInTouchMode prevents urlTextBox from stealing focus on launch and opening the keyboard. -->
+ When it is specified the theme should include <item name="android:windowTranslucentStatus">true</item>.
+ Setting the layout root to be focusableInTouchMode prevents urlTextBox from stealing focus on launch and opening the keyboard. -->
<android.support.design.widget.CoordinatorLayout
android:id="@+id/rootCoordinatorLayout"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/appBarLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:theme="@style/PrivacyBrowser.AppBarOverlay" >
+ android:theme="@style/AppBarOverlay" >
<android.support.v7.widget.Toolbar
android:id="@+id/appBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
- app:popupTheme="@style/PrivacyBrowser.PopupOverlay" />
+ app:popupTheme="@style/LightPopupOverlay" />
</android.support.design.widget.AppBarLayout>
<include layout="@layout/main_webview" />
</LinearLayout>
</android.support.design.widget.CoordinatorLayout>
+ <!-- `fullScreenVideoFrameLayout` is used to display full screen videos. It is initially `android:visibility="gone"` to hide it from view.
+ The `FrameLayout` needs to be before the `NavigationView` or touches on the navigation drawer will not work after exiting full screen video using the back button.-->
+ <FrameLayout
+ android:id="@+id/fullScreenVideoFrameLayout"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="gone"
+ android:background="@color/black" />
+
<!-- The navigation drawer. -->
<android.support.design.widget.NavigationView
android:id="@+id/navigationView"
android:layout_gravity="start"
app:headerLayout="@layout/navigation_header"
app:menu="@menu/webview_navigation_menu"
- app:itemIconTint="@color/blue_gray" />
-
- <!-- fullScreenVideoFrameLayout is used to display full screen videos. It is initially android:visibility="gone" to hide it from view. -->
- <FrameLayout
- android:id="@+id/fullScreenVideoFrameLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone"
- android:background="@color/black" />
+ app:itemIconTint="@color/blue_grey" />
</android.support.v4.widget.DrawerLayout>
\ No newline at end of file