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 - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -