# Why is Kiosk Mode a prerequisite for hiding Nav Bars?

**URL:** <https://forum.juce.com/t/why-is-kiosk-mode-a-prerequisite-for-hiding-nav-bars/48691>\
**Category:** Android\
**Created:** [November 9, 2021, 4:29pm UTC](https://forum.juce.com/t/why-is-kiosk-mode-a-prerequisite-for-hiding-nav-bars/48691 "2021-11-09T16:29:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BN701](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@BN701](https://forum.juce.com/u/BN701)\
**Post date:** [November 9, 2021, 4:29pm UTC](https://forum.juce.com/t/why-is-kiosk-mode-a-prerequisite-for-hiding-nav-bars/48691/1 "2021-11-09T16:29:21Z")

</div>

My app needs to be full screen but stepping through the call to ResizableWindow::setFullScreen(), and then AndroidComponentPeer::setFullScreen, I see that a call to shouldNavBarsBeHidden() only returns true if isKioskModeComponent() returns true. Can someone explain why this has to be the case?

Of course, I can turn on Kiosk Mode when I make the initial call to setFullScreen() and get the behaviour that I need, but I’m nervous about doing that. I’m fairly new to Android and given that one description I’ve found of Kiosk Mode as ‘a lock down mechanism that enables IT admins to run a single app or a pre-defined set of apps on Android smartphones and tablets’, which doesn’t really apply to my app’s situation, I’m wondering what are the consequences of taking this approach.

Thanks.

---

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [November 9, 2021, 5:55pm UTC](https://forum.juce.com/t/why-is-kiosk-mode-a-prerequisite-for-hiding-nav-bars/48691/2 "2021-11-09T17:55:33Z")

</div>

In JUCE, ‘kiosk mode’ just makes the app full screen and hides additional UI elements such as menus, docks etc. It sounds like the right course of action in your case.

---

<div class="post-metadata">

**Author:** ![BN701](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@BN701](https://forum.juce.com/u/BN701)\
**Post date:** [November 10, 2021, 8:17pm UTC](https://forum.juce.com/t/why-is-kiosk-mode-a-prerequisite-for-hiding-nav-bars/48691/3 "2021-11-10T20:17:51Z")

</div>

Thanks, that’s useful encouragement 🙂
