Kevin Janvier Chinabalire
09/06/2019, 6:53 PMKevin Janvier Chinabalire
09/06/2019, 6:56 PMCasey Brooks
09/06/2019, 8:06 PMBottomNavigationView
has nothing to do with the Toolbar. If you don’t want the toolbar, use a .NoActionBar
theme as your app theme’s parent, such as @style/Theme.AppCompat.Light.NoActionBar
. And then just set the BottomNavigationView
as normalKevin Janvier Chinabalire
09/06/2019, 8:23 PMandroidx
the error keeps coming from here setupActionBarWithNavController(navController, appBarConfiguration)
navView.setupWithNavController(navController)
Casey Brooks
09/06/2019, 8:25 PMNavigationComponent
(https://developer.android.com/guide/navigation), not the BottomNavigationView
Kevin Janvier Chinabalire
09/06/2019, 8:29 PMKevin Janvier Chinabalire
09/06/2019, 8:29 PMCasey Brooks
09/06/2019, 8:46 PMToolbar
, but you might look into this one that doesn’t seem to need it https://developer.android.com/reference/androidx/navigation/ui/NavigationUI.html#setupWithNavController(com.google.android.material.navigation.NavigationView,%20androidx.navigation.NavController)Kevin Janvier Chinabalire
09/06/2019, 8:49 PMbug