From the course: Android Development Essential Training: 3 Navigation

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Add a navigation bar to a layout

Add a navigation bar to a layout - Android Tutorial

From the course: Android Development Essential Training: 3 Navigation

Start my 1-month free trial

Add a navigation bar to a layout

- [Instructor] Bottom navigation bars allow users to move between the primary destinations of your app. Here on the material.io website, we see an example of a bottom navigation bar with four items, favorites, music, places and news. Perhaps you've also seen the use of a bottom navigation bar in one of your favorite Android applications. When the user clicks on one of the items, they're taken directly to the screen that contains the desired information. Let's move over to Android Studio, so we can get started with adding this type of navigation to our sample app. Since you've last seen our app, I've made a few updates that will make it easier for us to work with the bottom navigation bar. First, I've added two new screens to our project, besides our home screen, we now have shop and tours. These screens make up the primary destinations of our app. So, instead of using three separate activities for them, I've switched to the…

Contents