<?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/drawer_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity"
    tools:ignore="HardcodedText">

  <!-- Layout to contain contents of main body of screen (drawer will slide over this) -->
  <androidx.fragment.app.FragmentContainerView
      android:name="androidx.navigation.fragment.NavHostFragment"
      android:id="@+id/nav_host_fragment"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      app:defaultNavHost="true"
      app:navGraph="@navigation/nav_graph" />

  <!-- this the navigation view which draws and shows the navigation drawer -->
  <!-- include the menu created in the menu folder -->
  <com.google.android.material.navigation.NavigationView
      android:id="@+id/nav_view"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_gravity="start"
      app:menu="@menu/nav_menu"
      android:fitsSystemWindows="true" />
</androidx.drawerlayout.widget.DrawerLayout>
