Create the About:Links tab.
[PrivacyBrowser.git] / app / src / main / res / layout / coordinator_layout.xml
index 4f11f6090cdde9c35a2ef2776f6b5a6e0825ece7..5438c3b64ebabb68f840a44e4aab340b08225c3c 100644 (file)
 
 <android.support.v4.widget.DrawerLayout
     xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
     android:id="@+id/drawerLayout"
     android:layout_height="match_parent"
-    android:layout_width="match_parent" >
+    android:layout_width="match_parent">
 
     <!-- The main content view. -->
     <!-- android:fitsSystemWindows="true" moves rootCoordinatorLayout below the system status bar. -->
         </android.support.design.widget.AppBarLayout>
 
         <include layout="@layout/main_webview" />
-
-        <!-- 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" />
     </android.support.design.widget.CoordinatorLayout>
 
     <!-- The navigation drawer. -->
-    <ListView
-        android:id="@+id/navigationDrawer"
-        android:layout_width="240dp"
+    <android.support.design.widget.NavigationView
+        android:id="@+id/navigationView"
+        android:layout_width="wrap_content"
         android:layout_height="match_parent"
         android:layout_gravity="start"
-        android:choiceMode="singleChoice"
-        android:background="@color/white"/>
+        app:headerLayout="@layout/navigation_header"
+        app:menu="@menu/menu_navigation"/>
 
+    <!-- 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" />
 </android.support.v4.widget.DrawerLayout>
\ No newline at end of file