title: Is there a way to add rounded corners to an android Material View bottom navigation?
body: <p>I am trying to add rounded corners to my bottom navigation and i have tried changing widths and heights but its not working. I am using Relative layout with width set to 'fill_parent' and height set to 'warp_content' I have two icons login and register and i want the whole of the navigation to have rounded corners. I am using Material Design bottom navigation:</p>
  <pre><code>  &lt;com.google.android.material.bottomnavigation.BottomNavigationView
      android:layout_width=&quot;fill_parent&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:id=&quot;@+id/botttom_navigation&quot;
      app:itemBackground=&quot;@android:color/darker_gray&quot;
      app:itemTextColor=&quot;@drawable/selector&quot;
      app:itemIconTint=&quot;@drawable/selector&quot;
      android:layout_alignParentBottom=&quot;true&quot;
      app:menu=&quot;@menu/menu_navigation&quot;/&gt;
  </code></pre>
  <p>This is how it is looking</p>
  <p><a href="https://i.stack.imgur.com/f4H09.png" rel="noreferrer"><img src="https://i.stack.imgur.com/f4H09.png" alt="this is how it is looking" /></a></p>
  <p>I want it to have rounded corners like this. Not float but the corners
  <a href="https://i.stack.imgur.com/AtHpM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AtHpM.png" alt="rounded corners" /></a></p>