android - How to toggle SYSTEM_UI_FLAG_HIDE_NAVIGATION after interaction? -


i using system_ui_flag_hide_navigation flag in activity hide system bar (i'm working on "kiosk" style application)

it works well, kind of interaction makes re-appear, documentation states.

what best way re-enable flag after interaction?

could point me in direction on how implement "auto-toggle"?

nb - not want (in fact cant, proejct) use 3rd party applications achieve feature.

you should add "system_ui_flag_immersive_sticky" option keep hiding.

https://developer.android.com/training/system-ui/immersive.html


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -