title: How to hide bottom navigation view when keyboard is in use?
body: <p>For my app in the main tasks i take quite a bit of input from the user. Currently when they go to enter their input the keyboard rises and the bottom navigation view stays visible above it. However what i want to happen is that when the keyboard pops up the bottom nav should go away and not be visible to the user.So i do i do this?</p>
  
  <p>Code for MainActivity which contains the bottom nav bar.</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"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;android.support.v7.widget.Toolbar
          android:id="@+id/maintoolbar"
          android:layout_width="match_parent"
          android:layout_height="?attr/actionBarSize"
          android:background="?attr/colorPrimary"
          android:elevation="4dp"
          android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
          app:popupTheme="@style/ThemeOverlay.AppCompat.Light" /&gt;
  
      &lt;FrameLayout
          android:id="@+id/container"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"
          android:layout_below="@id/maintoolbar"
          android:layout_above="@+id/bottom_navigation"/&gt;
  
      &lt;android.support.design.widget.BottomNavigationView     
          android:id="@+id/bottom_navigation"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom"
          android:layout_alignParentBottom="true"
          android:background="@color/colorPrimary"
          app:itemIconTint="@color/white"
          app:itemTextColor="@color/white"
          app:elevation="4dp"
          app:menu="@menu/bottom_navigation_main"/&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I want the transition to be as quick and clean as possible so the user can barely notice the change.</p>