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
Post a Comment