Bottom Navigation should be used when an application has three to five top-level destinations.

In the tab_color.xml file, we have used state_checked and color attributes to change the selected tab color in the BottomNavigationView.