title: Implement bottom drawer in android Java
body: <p>I am unable to implement a bottom drawer in android (java) and can not find any working example/tutorial on its usage. Can you write sample code for using a bottom drawer? (<a href="https://material.io/components/navigation-drawer/#bottom-drawer" rel="nofollow noreferrer">https://material.io/components/navigation-drawer/#bottom-drawer</a>)</p>
  
  <p>Alternatively, I tried using a drop down menu but my app needs a bottom drawer only</p>
  
  <pre><code>&lt;com.google.android.material.bottomnavigation.BottomNavigationView
          android:id="@+id/navbottom"
          android:layout_width="match_parent"
          android:layout_height="64dp"
          android:layout_gravity="bottom"
          app:menu="@menu/menu_nav"&gt;    &lt;/com.google.android.material.bottomnavigation.BottomNavigationView&gt;```
  </code></pre>
  
  <p>Here's the code to my bottom navigation view</p>
  
  <p>This is how it should look like<a href="https://i.stack.imgur.com/oa0eh.png" rel="nofollow noreferrer">1</a></p>