Page 1 of 1

Android: Orientation-lock and Title-Tag ignored

Posted: Wed Aug 07, 2019 11:07 am
by fingus
It seems Hollywood ignored the Orientation-Lock and Title-Tag on Android 9:

@DISPLAY {Title = "HM-Schapke 0.3", Width = 1080, Height = 1920, Mode="Fullscreen", HideOptionsMenu = True, Orientation = #ORIENTATION_PORTRAIT, HideTitleBar = True}

All tags except Title and Orientation are working.

In Task-View of Android 9 it Shows the script as "Hollywood"

When rotating the Device (Sony Xperia XA2) it rotates the Display and don´t stay in #ORIENTATION_PORTRAIT.

Re: Android: Orientation-lock and Title-Tag ignored

Posted: Thu Aug 08, 2019 9:41 pm
by airsoftsoftwair
fingus wrote: Wed Aug 07, 2019 11:07 am In Task-View of Android 9 it Shows the script as "Hollywood"
That is normal. The title you specify in "Title" or using SetTitle() is used when your script uses the action bar. It's not possible to change the title that appears in task view using these functions. The title that appears in task view is the app name and that can't be changed at runtime. However, if you use the Hollywood APK Compiler you can specify your own application name which will also appear in task view then.
fingus wrote: Wed Aug 07, 2019 11:07 am When rotating the Device (Sony Xperia XA2) it rotates the Display and don´t stay in #ORIENTATION_PORTRAIT.
Thanks, fixed.

Code: Select all

- Fix [Android]: Hard-coding an orientation in the "Orientation" tag of @DISPLAY didn't work correctly if
  the orientation was the same as the current device orientation