Hiding virtual home button

Is there a way to hide the virtual home button on android? I have looked over the api and the blog I cannot find a simple solution.

Hi rdvitali98,

To hide the virtual navigation bar on some Android devices, you can use native.setProperty(“androidSystemUiVisibility”). Note that this API does have some restrictions on what versions of Android it works on.

So all I have to do is add that line of code into my app? Do I need to put it into every scene?

You do it once in main.lua.

Rob

Hi rdvitali98,

To hide the virtual navigation bar on some Android devices, you can use native.setProperty(“androidSystemUiVisibility”). Note that this API does have some restrictions on what versions of Android it works on.

So all I have to do is add that line of code into my app? Do I need to put it into every scene?

You do it once in main.lua.

Rob