title: Customize Bottom Navigation View
body: <p>I have developed an android application using OpenCV. The user interface has a bottom navigation view. When I pressed items in the Bottom Navigation View it applies different filters to the JavaCameraView in real time.</p>
  
  <p>My problem is that the bottom navigation looks flat. I want to make the items like buttons, elevated from their positions, so they are not in the same plane as the rest of the User Interface.</p>
  
  <p>I am aware of the Bottom sheet, but that won't help me. I have already fully developed the app and finalized the design. I can't use any View other than Bottom Navigation View.</p>
  
  <p>Is there any XML attribute or any method I can use on the BottomNavigationView object to make the Items elevated from their positions?</p>
  
  <p>The navigation view:</p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>&lt;android.support.design.widget.BottomNavigationView
    android:id="@+id/navigation"
    android:layout_width="match_parent"
    android:layout_height="45dp"
    android:layout_gravity="start"
    app:itemTextColor="@color/cardview_light_background"
    android:background="?android:attr/windowBackground"
    app:menu="@menu/nav" /&gt;
  </code></pre>
  
  <p>The item code:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"&gt;
      &lt;item android:id="@+id/fiter1" android:title="Filter 1" /&gt;
      &lt;item android:id="@+id/filter2" android:title="Filter 2" /&gt;
      &lt;item android:id="@+id/filter3" android:title="Filter 3" /&gt;
    &lt;/menu&gt;
  </code></pre>