Showing/Hiding the Action Bar While Running (Android)

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

Showing/Hiding the Action Bar While Running (Android)

Post by PEB » Wed Feb 13, 2019 3:37 am

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: 3441
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post by airsoftsoftwair » Wed Feb 13, 2019 6:41 pm

Should already be possible. Try:

Code: Select all

@DISPLAY {HideTitleBar = True}

PEB
Posts: 284
Joined: Sun Feb 21, 2010 1:28 am

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

Post by PEB » Wed Feb 13, 2019 10:48 pm

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: 3441
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post by airsoftsoftwair » Sat Feb 16, 2019 12:49 pm

Have you tried

Code: Select all

SetDisplayAttributes({HideTitleBar = True})
?

PEB
Posts: 284
Joined: Sun Feb 21, 2010 1:28 am

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

Post by PEB » Sat Feb 16, 2019 8:06 pm

Tried it; but it doesn't seem to work.

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

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

Post by airsoftsoftwair » Mon Feb 18, 2019 4:22 pm

Right, I can add this then.

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

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

Post by airsoftsoftwair » Sat Dec 14, 2019 3:02 pm

Code: Select all

- New [Android]: You can now show and hide the status bar by setting the "HideTitleBar" attribute using
  SetDisplayAttributes() 

amyren
Posts: 106
Joined: Thu May 02, 2019 11:53 am

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

Post by amyren » Fri Mar 27, 2020 10:23 am

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: 3441
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post by airsoftsoftwair » Sat Mar 28, 2020 12:39 pm

Have you tried ChangeDisplayMode() for that purpose?

amyren
Posts: 106
Joined: Thu May 02, 2019 11:53 am

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

Post by amyren » Sun Mar 29, 2020 10:37 pm

Thanks, I will try it.

Post Reply