Problem
Splash screen is stretched if window orientation mode is locked up, when launching the app in landscape mode.
Target Environment
{noformat}
Titanium SDK: Mobile 1.7.2
Platform OS: Android Version: 2.1
{noformat}
Repro sequence
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
win1.orientationModes = [ Titanium.UI.PORTRAIT];
var label1 = Titanium.UI.createLabel({
color:'#999',
text:'I am Window 1',
font:{fontSize:20,fontFamily:'Helvetica Neue'},
textAlign:'center',
width:'auto'
});
win1.add(label1);
win1.open();
Verified fixed With: OSX 10.6.8
Studio
{noformat} Titanium Studio, build: 1.0.5.201109261308 (c) Copyright 2011 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-89 (origin/master) Date: 26 September 2011, 13:10:51 {noformat}Tested on
{noformat} SDK 1.8.0.v20110930164213, Emulator and Tablet Android v2.2 using provided sample code. {noformat}Tested with 1.8.0.1.v20111205164258 v8/rhino on Galaxy 10.1 (3.1) Droid 1 (2.2.2) Nexus S (2.3.6) Emulator (4.0) Still seeing the stretched image when launching in landscape
Tested with
Android OS 2.2 both V8/Rhino, I see a stretched flickering effect for just a second, then screen is shown correctly (not stretched)Titanium SDK version
1.8.2 (02/23/12) 2.0.0 (03/18/12)I am unable to reproduce this issue with the following environment; Pixel (7.1) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131