android - Hiding/Showing ActionBar and BottomBar on content click -


i have been trying similar kindle app android https://play.google.com/store/apps/details?id=com.amazon.kindle

when in reading activity if click content, actionbar , bottomsheet animated out of screen. if click again, animate inside screen.

i not being able make work using getsupportactionbar().hide() maybe because using coordinatorlayout

someone knows how it? advance

try getsupportactionbar().hide() , getsupportactionbar().show()

you can check actionbar state using getsupportactionbar().isshowing() method.


Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

javascript - How can I reference jquery library using cgi methods in ruby? -

ruby on rails - Scope conditionals for count? -