Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4746] Android splash screen orientation

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2017-05-02T22:03:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, screen, splash
ReporterKT
AssigneeIngo Muschenetz
Created2011-06-26T22:00:23.000+0000
Updated2017-05-02T22:03:34.000+0000

Description

Is it just me, or does Titanium on Android not get the orientation of the initial splash screen right at launch when the device is in landscape? Launching a test application with the default Appcelerator logo as the splash screen (or KitchenSink, with its "sink" splash screen), everything works fine in portrait. But launching with the device held landscape, the splash screen appears stretched horizontally, as if the portrait image is being used and just stretched out. Note that in landscape the splash screen doesn't always appear at launch, and when it does it's usually just for a flash. Note #2: This doesn't seem to happen in a subsequent launch as described in TIMOB-4357. In that instance, when it relaunches before the described, the orientation of the splash screen behaves properly. (It also seems to slide in from the side, as opposed to zooming in as a regular from-scratch launch does.)

Comments

  1. KT 2011-06-26

    Upon investigating further, I realize this only happens when I have my launcher (Go Launcher Ex, to be exact) set to portrait-only mode. But other Android apps behave properly -- i.e., displaying the landscape-mode splash screen -- so I'm still counting this as a Titanium bug.
  2. Eduardo Gomez 2011-07-18

    Problem

    Android splash screen Orientation is not being set when its specified within Tiapp.xml .

    Workaround

    Added this to Tiapp.xml (Android configuration section) {noformat} http://schemas.android.com/apk/res/android"> {noformat}

    Target environment

    Product: Mobile Titanium SDK: Mobile 1.6.2, 1.7.1 Platform OS: Android Platform OS Version: 2.2

    Associated HD ticket

    http://appc.me/c/APP-653351
  3. Paul Dowsett 2011-07-22

  4. Paul Dowsett 2011-10-21

    Reassigning tickets, as per Tony Guntharp's request
  5. Shawn Lipscomb 2011-12-16

    TIMOB-1674 seems to provide instructions for a "raw" workaround. When will this be supported in the "standard" Titainum splash screen directory structure (e.g. Resources\android\images\res-notlong-land-mdpi)?
  6. Ramki 2015-01-06

    http://developer.appcelerator.com/question/179725/splash-screen-portrait-only#answer-284635 This solution worked for me.
  7. Lee Morris 2017-05-02

    Resolving ticket as Invalid as there is now a new version of Kitchen Sink available and we no longer support the version which relates to this ticket.

JSON Source