Similar questions already exist here, but although what I'm trying to do is quite similar it isn't the same, so please don't mark as a duplicate.
I am building an app to run on a Kiosk therefore I want to prevent users from exiting the app, in order to do this I will need to hide both the status and navigation bars.
I am able to do both but there is always a method which the user can bring them back in which is not the desirable outcome.
So far I have:
- Read on/trialled the properties that can be used in
setSystemUiVisibility()
. - Experimented with
InputMethodManager
- Looked into different full screen options Immersive, Sticky Immersive and Lean back.
- Looked into properties that can be set in the manifest file.
- Browsed through the documentation.
- Googled for similar issues.
The Ideal solution would be one where I don't have to repeat the same setup for every single activity..