Android: Orientation-lock and Title-Tag ignored

Report any Hollywood bugs here
Post Reply
User avatar
fingus
Posts: 269
Joined: Fri Sep 16, 2011 9:53 am

Android: Orientation-lock and Title-Tag ignored

Post 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.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

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

Post 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
Post Reply