Skip to content

Behaviour and Animations Settings

Ashok Varma edited this page Jul 3, 2016 · 3 revisions

##Auto - Hide If BottomNavigationBar is inside Co-ordinator Layout by default it auto-hides when user scrolls down the content and re-appears when user scrolls the opposite way. to turn-off/on this feature.

bottomNavigationBar.setAutoHideEnabled(false);

##Hide/Show BottomNavigatinoBar can be hidden/un-hidden at any point of time via Code.

bottomNavigationBar.hide();
bottomNavigationBar.show();
Property Description Method Values
Hide hides with animation hide() -
Hide with animation control hides with/without animation hide() boolean (true->animate, false-> don't animate)
UnHide/Show un-hides with animation show() -
UnHide/Show with animation control un-hides with/without animation show() boolean (true->animate, false-> don't animate)
Is Hidden returns if the badge is hidden isHidden() boolean
Clone this wiki locally