Android: Hide Navigation-Bar

Feature requests for future versions of Hollywood can be voiced here
Post Reply
User avatar
fingus
Posts: 156
Joined: Fri Sep 16, 2011 9:53 am

Android: Hide Navigation-Bar

Post by fingus »

Android: Hide Navigation-Bar (that on on Bottom with BACK, HOME and TASKVIEW).

User avatar
airsoftsoftwair
Posts: 4193
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Android: Hide Navigation-Bar

Post by airsoftsoftwair »

Could easily be implemented with APK Compiler Pro's feature to run custom Java code but I'll consider it as a standard Hollywood feature as well :)

xabierpayet
Posts: 214
Joined: Fri Feb 24, 2012 9:34 am

Re: Android: Hide Navigation-Bar

Post by xabierpayet »

i try to remove the bar with java, and don´t work here, can you make a little tutorial ?

User avatar
airsoftsoftwair
Posts: 4193
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Android: Hide Navigation-Bar

Post by airsoftsoftwair »

Should be possible by just calling...

Code: Select all

HollywoodActivity.mSingleton.showHideActionBar(false);
...in a method.

xabierpayet
Posts: 214
Joined: Fri Feb 24, 2012 9:34 am

Re: Android: Hide Navigation-Bar

Post by xabierpayet »

i don´t understand how do it, i attempt it changing in the manifest the line
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
but i have an error, it´s weird

User avatar
airsoftsoftwair
Posts: 4193
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Android: Hide Navigation-Bar

Post by airsoftsoftwair »

Code: Select all

- New [Android]: Added support for immersive full screen mode; if that mode is used, all Android system
  bars will be hidden completely; you can enable immersive mode by setting the "ImmersiveMode" tag either
  in @DISPLAY, CreateDisplay() or SetDisplayAttributes(); there are three different immersive modes:
  #IMMERSIVE_NORMAL, #IMMERSIVE_LEANBACK and #IMMERSIVE_STICKY; you can also query the current immersive
  mode of a display using the new #ATTRIMMERSIVEMODE attribute

User avatar
airsoftsoftwair
Posts: 4193
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Android: Hide Navigation-Bar

Post by airsoftsoftwair »

Code: Select all

- New [Android]: Added "ShowSystemBars" and "HideSystemBars" event handlers; these will trigger when the
  system bars are shown/hidden in immersive mode; you can also query #ATTRSYSTEMBARS to learn about the
  system bars' current visibility state

xabierpayet
Posts: 214
Joined: Fri Feb 24, 2012 9:34 am

Re: Android: Hide Navigation-Bar

Post by xabierpayet »

Cool, you are great

LarsB
Posts: 69
Joined: Sat May 06, 2017 4:37 pm

Re: Android: Hide Navigation-Bar

Post by LarsB »

Yeah, thats very useful. Thanks, Andreas.

Post Reply