title: Navigation Drawer items not showing anything
body: <p>I have updated the Android Studio to version 3.5 from August 9 2019. I have tried to get familiar with new idea for navigation drawer using Navigation Component. I created the new project and chose the Navigation Drawer Activity at start. After that, I have tried to run the app to see if everything works fine but the drawer menu doesn't work. The drawer gets open but when I click on any available items it just close the drawer not opening proper fragment. I have also tried to set different fragment as a Start Destination and it works fine, the correct fragment gets open at start correctly however the drawer menu still doesn't work. </p>
  
  <p>What am I missing? How can I make it work?</p>
  
  <p>Code comes straight from the fresh new Navigation Drawer Activity:</p>
  
  <p>activity_main:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;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"
      android:fitsSystemWindows="true"
      tools:openDrawer="start"&gt;
  
      &lt;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"
          android:fitsSystemWindows="true"
          app:headerLayout="@layout/nav_header_main"
          app:menu="@menu/activity_main_drawer" /&gt;
  
      &lt;include
          layout="@layout/app_bar_main"
          android:layout_width="match_parent"
          android:layout_height="match_parent" /&gt;
  
  &lt;/androidx.drawerlayout.widget.DrawerLayout&gt;
  </code></pre>
  
  <p>app_bar_main:</p>
  
  <pre><code>&lt;androidx.coordinatorlayout.widget.CoordinatorLayout 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:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".MainActivity"&gt;
  
      &lt;com.google.android.material.appbar.AppBarLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:theme="@style/AppTheme.AppBarOverlay"&gt;
  
          &lt;androidx.appcompat.widget.Toolbar
              android:id="@+id/toolbar"
              android:layout_width="match_parent"
              android:layout_height="?attr/actionBarSize"
              android:background="?attr/colorPrimary"
              app:popupTheme="@style/AppTheme.PopupOverlay" /&gt;
  
      &lt;/com.google.android.material.appbar.AppBarLayout&gt;
  
      &lt;com.google.android.material.floatingactionbutton.FloatingActionButton
          android:id="@+id/fab"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom|end"
          android:layout_margin="@dimen/fab_margin"
          app:srcCompat="@android:drawable/ic_dialog_email" /&gt;
  
      &lt;include layout="@layout/content_main" /&gt;
  
  &lt;/androidx.coordinatorlayout.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>content_main:</p>
  
  <pre><code>&lt;androidx.constraintlayout.widget.ConstraintLayout 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:layout_width="match_parent"
      android:layout_height="match_parent"
      app:layout_behavior="@string/appbar_scrolling_view_behavior"
      tools:showIn="@layout/app_bar_main"&gt;
  
      &lt;fragment
          android:id="@+id/nav_host_fragment"
          android:name="androidx.navigation.fragment.NavHostFragment"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:defaultNavHost="true"
          app:layout_constraintLeft_toLeftOf="parent"
          app:layout_constraintRight_toRightOf="parent"
          app:layout_constraintTop_toTopOf="parent"
          app:navGraph="@navigation/mobile_navigation" /&gt;
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>
  
  <p>activity_main_drawer:</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      tools:showIn="navigation_view"&gt;
  
      &lt;group android:checkableBehavior="single"&gt;
          &lt;item
              android:id="@+id/nav_home"
              android:icon="@drawable/ic_menu_camera"
              android:title="@string/menu_home" /&gt;
          &lt;item
              android:id="@+id/nav_gallery"
              android:icon="@drawable/ic_menu_gallery"
              android:title="@string/menu_gallery" /&gt;
          &lt;item
              android:id="@+id/nav_slideshow"
              android:icon="@drawable/ic_menu_slideshow"
              android:title="@string/menu_slideshow" /&gt;
          &lt;item
              android:id="@+id/nav_tools"
              android:icon="@drawable/ic_menu_manage"
              android:title="@string/menu_tools" /&gt;
      &lt;/group&gt;
  
      &lt;item android:title="Communicate"&gt;
          &lt;menu&gt;
              &lt;item
                  android:id="@+id/nav_share"
                  android:icon="@drawable/ic_menu_share"
                  android:title="@string/menu_share" /&gt;
              &lt;item
                  android:id="@+id/nav_send"
                  android:icon="@drawable/ic_menu_send"
                  android:title="@string/menu_send" /&gt;
          &lt;/menu&gt;
      &lt;/item&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>mobile_navigation:</p>
  
  <pre><code>&lt;navigation 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/mobile_navigation"
      app:startDestination="@+id/nav_home"&gt;
  
      &lt;fragment
          android:id="@+id/nav_home"
          android:name="com.broadenup.test.ui.home.HomeFragment"
          android:label="@string/menu_home"
          tools:layout="@layout/fragment_home" /&gt;
  
      &lt;fragment
          android:id="@+id/nav_gallery"
          android:name="com.broadenup.test.ui.gallery.GalleryFragment"
          android:label="@string/menu_gallery"
          tools:layout="@layout/fragment_gallery" /&gt;
  
      &lt;fragment
          android:id="@+id/nav_slideshow"
          android:name="com.broadenup.test.ui.slideshow.SlideshowFragment"
          android:label="@string/menu_slideshow"
          tools:layout="@layout/fragment_slideshow" /&gt;
  
      &lt;fragment
          android:id="@+id/nav_tools"
          android:name="com.broadenup.test.ui.tools.ToolsFragment"
          android:label="@string/menu_tools"
          tools:layout="@layout/fragment_tools" /&gt;
  
      &lt;fragment
          android:id="@+id/nav_share"
          android:name="com.broadenup.test.ui.share.ShareFragment"
          android:label="@string/menu_share"
          tools:layout="@layout/fragment_share" /&gt;
  
      &lt;fragment
          android:id="@+id/nav_send"
          android:name="com.broadenup.test.ui.send.SendFragment"
          android:label="@string/menu_send"
          tools:layout="@layout/fragment_send" /&gt;
  &lt;/navigation&gt;
  </code></pre>