Page 1 of 1

Showing/Hiding the Action Bar While Running (Android)

Posted: Wed Feb 13, 2019 3:37 am
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()?

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

Posted: Wed Feb 13, 2019 6:41 pm
by airsoftsoftwair
Should already be possible. Try:

Code: Select all

@DISPLAY {HideTitleBar = True}

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

Posted: Wed Feb 13, 2019 10:48 pm
by PEB
I was hoping for a way to do it after the program has already started (after the preprocessor commands have been executed).

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

Posted: Sat Feb 16, 2019 12:49 pm
by airsoftsoftwair
Have you tried

Code: Select all

SetDisplayAttributes({HideTitleBar = True})
?

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

Posted: Sat Feb 16, 2019 8:06 pm
by PEB
Tried it; but it doesn't seem to work.

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

Posted: Mon Feb 18, 2019 4:22 pm
by airsoftsoftwair
Right, I can add this then.

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

Posted: Sat Dec 14, 2019 3:02 pm
by airsoftsoftwair

Code: Select all

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

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

Posted: Fri Mar 27, 2020 10:23 am
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.

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

Posted: Sat Mar 28, 2020 12:39 pm
by airsoftsoftwair
Have you tried ChangeDisplayMode() for that purpose?

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

Posted: Sun Mar 29, 2020 10:37 pm
by amyren
Thanks, I will try it.