Search code examples
androidmaterial-designtabletbottomnavigationview

Side bar navigation for tablets


Im making a android application for a tablet. Im using very similar design to Google Maps, and I use the BottomNavigationView for portrait.

Looking at material design guidelines, bottom navigation is recommended to have on the left side as a bar. As shown in this picture:

Side bar navigation

enter image description here

In the post its called the compact "rail".

Is there something equivalent to BottomNavigationView that can look like the picture linked above?


Solution

  • I figured out a way to get it like I wanted. I just created a navigation drawer fragment, like you usually would do it, and just specified the width to be quite small, so just the icons are shown.