title: How to hide the BottomNavigationView below keyboard with adjustResize set
body: <p>According to the <a href="https://material.io/guidelines/components/bottom-navigation.html#bottom-navigation-specs" rel="noreferrer">material design spec</a>, when the keyboard appears, the <code>BottomNavigationView</code> should hide underneath it. However, if I set <code>android:windowSoftInputMode="adjustResize"</code> in the Activity's manifest then the <code>BottomNavigationView</code> moves above the keyboard.</p>
  
  <p>I need to set <code>adjustResize</code> to enable scrolling to the bottom of the screen while the keyboard is open. However, I do not want the <code>BottomNavigationView</code> to be visible. Can this be done?</p>
  
  <p>How it currently looks:</p>
  
  <p><a href="https://i.stack.imgur.com/Q0D6t.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Q0D6t.png" alt="enter image description here"></a></p>
  
  <p>The layout XML (in reality there would be a <code>FrameLayout</code> where the <code>EditText</code> is and the <code>EditText</code> would be inside it):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;EditText
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:hint="Input"
          android:layout_gravity="center"
          android:layout_centerVertical="true"/&gt;
  
      &lt;android.support.design.widget.BottomNavigationView
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentBottom="true"
          app:itemBackground="@color/colorPrimary"
          app:menu="@menu/menu_bottom_navigation"
          app:itemIconTint="@android:color/white"
          app:itemTextColor="@android:color/white"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>