i want dismiss bottom navigation bar 1 particular screen. tried using
setsystemuivisibility(horizontalscrollview.system_ui_flag_hide_navigation);
i have put in onscroll of scrollview, ontouch of views. issue comes , screen gets resize.
any suggestions can remove navigation bar.
check out system_ui_flag_hide_navigation
, flag hides navigation bar until user interacts device. it's new in android 4.0. can enable flag example this:
getwindow().getdecorview() .setsystemuivisibility(view.system_ui_flag_hide_navigation);
note navigation won't disappear again automatically, have set every time after user interacted device.
alternatively can make navigation less obtrusive using system_ui_flag_low_profile, changes buttons small dots (e.g. camera app).
Comments
Post a Comment