Showing/Hiding the Action Bar While Running (Android)

Feature requests for future versions of Hollywood can be voiced here
Post Reply
PEB
Posts: 567
Joined: Sun Feb 21, 2010 1:28 am

Showing/Hiding the Action Bar While Running (Android)

Post by PEB »

The menu in the default title bar on the Android player gives the option to hide the title bar and force the display to fill the screen. Since this option is available while the program is running, would it be possible to add a function that would allow the action bar to be shown/hidden programmatically---possibly included as an option in SetDisplayAttributes()?
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Showing/Hiding the Action Bar While Running (Android)

Post by airsoftsoftwair »

Should already be possible. Try:

Code: Select all

@DISPLAY {HideTitleBar = True}
PEB
Posts: 567
Joined: Sun Feb 21, 2010 1:28 am

Re: Showing/Hiding the Action Bar While Running (Android)

Post by PEB »

I was hoping for a way to do it after the program has already started (after the preprocessor commands have been executed).
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Showing/Hiding the Action Bar While Running (Android)

Post by airsoftsoftwair »

Have you tried

Code: Select all

SetDisplayAttributes({HideTitleBar = True})
?
PEB
Posts: 567
Joined: Sun Feb 21, 2010 1:28 am

Re: Showing/Hiding the Action Bar While Running (Android)

Post by PEB »

Tried it; but it doesn't seem to work.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Showing/Hiding the Action Bar While Running (Android)

Post by airsoftsoftwair »

Right, I can add this then.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Showing/Hiding the Action Bar While Running (Android)

Post by airsoftsoftwair »

Code: Select all

- New [Android]: You can now show and hide the status bar by setting the "HideTitleBar" attribute using
  SetDisplayAttributes() 
amyren
Posts: 352
Joined: Thu May 02, 2019 11:53 am

Re: Showing/Hiding the Action Bar While Running (Android)

Post by amyren »

Will this also add the possibility to use SetDisplayAttributes() to force an app to go fullscreen in android?
As it is now, I could not get that to work.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Showing/Hiding the Action Bar While Running (Android)

Post by airsoftsoftwair »

Have you tried ChangeDisplayMode() for that purpose?
amyren
Posts: 352
Joined: Thu May 02, 2019 11:53 am

Re: Showing/Hiding the Action Bar While Running (Android)

Post by amyren »

Thanks, I will try it.
Post Reply