Bottom Navigation Bar for Android App

TRUETECH is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Bottom Navigation Bar for Android App
Simple
from 1 business day to 3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Development of Bottom Navigation Bar for Android Application

Bottom Navigation Bar is a standard navigation element for applications with 3-5 main sections. Google Material Design 3 defines precise rules: when to use NavigationBar (3-5 items), when to use NavigationRail or NavigationDrawer for tablets. Violating these rules is one of the reasons apps are rejected during Play Store review for UX consistency.

Jetpack Compose vs XML

With Compose: NavigationBar from androidx.compose.material3, NavigationBarItem for each menu item. State of selected item managed through rememberNavController() and currentBackStackEntryAsState():

NavigationBar {
    val navBackStackEntry by navController.currentBackStackEntryAsState()
    val currentRoute = navBackStackEntry?.destination?.route

    items.forEach { item ->
        NavigationBarItem(
            selected = currentRoute == item.route,
            onClick = {
                navController.navigate(item.route) {
                    popUpTo(navController.graph.findStartDestination().id) {
                        saveState = true
                    }
                    launchSingleTop = true
                    restoreState = true
                }
            },
            icon = { Icon(item.icon, contentDescription = item.label) },
            label = { Text(item.label) }
        )
    }
}

popUpTo with saveState = true and restoreState = true are key flags. Without them, navigation stack isn't cleared when switching tabs, and Back button doesn't return to previous tab but through entire previous stack.

With XML: BottomNavigationView from Material Components + Navigation Component. setupWithNavController() binds BottomNavigationView to NavController and handles stack automatically. For XML-based apps this is simpler than manual control.

Typical Issues

Badge on icon. BadgeDrawable in XML or BadgedBox in Compose to show unread counters. Numbers above 99 display as "99+", requiring explicit handling.

Hiding on scroll. In Compose via NestedScrollConnection — Bottom Navigation hides when scrolling down and reappears when scrolling up. Without this, navigation consumes screen space on small devices.

Separate Back Stack per tab. Standard Navigation Component preserves tab state only with saveState = true. Without this flag, user switches to third tab and returns — scroll position resets, state lost.

Adaptive layout. On wide screens (tablets, foldables) BottomNavigationBar should be replaced with NavigationRail. WindowSizeClass determines which component to show: Compact width → NavigationBar, Medium/ExpandedNavigationRail.

Development of Bottom Navigation Bar with back stack, badge, and adaptivity: 1-3 days. Cost calculated individually.