Material-BottomNavigation icon indicating copy to clipboard operation
Material-BottomNavigation copied to clipboard

How to show and hide bottom navigation in code?

Open onooma opened this issue 8 years ago • 1 comments

Thank you for this fantastic library. How can I show and hide bottom navigation in code? I tried expand() but it doesn't work.

onooma avatar Jan 31 '17 08:01 onooma

You can do...

BottomNavigation.setExpanded(expanded, animate)

or...

BottomNavigation.setVisibility(visibility) // View.VISIBLE | View.INVISIBLE | View.GONE

AntumDeluge avatar Feb 08 '22 00:02 AntumDeluge