SmoothBottomBar
SmoothBottomBar copied to clipboard
Issue with NoActionbar theme
very cool !! lib. i am using NoActionBar theme(i.e Theme.AppCompat.Light.NoActionBar / Theme.MaterialComponents.Light.NoActionBar) in this case fragment is not changing according to menu item. In DarkActionBar it works fine.
Can confirm , navigation using navigation components breaks when using NoActionBar themes
@kriticalflare
Yes @DebRockz is right, with NoActionbar theme, library not works
Same problem here..cannot use it with navigation components as my theme is of NoActionBar
here is a Quick Workaround -
val menu = PopupMenu(this,null).menu
menuInflater.inflate(R.menu.home_menu,menu)
bottomBar.setupWithNavController(menu,navController)
Though I am really looking for a fix from the library authors
@DebRockz library does not work with NoActionbar theme, but you can hide the action bar
supportActionBar!!.hide()
hello @ibrahimsn98 how to fix
bottomBar.setupWithNavController(menu,navController)
?
I experience this issue too
Same here! NoActionbar themes break navigation.
please i have the same issue not working without actionBar