Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10547] Android: Orientation modes - Appcelerator logo in splash screen seems stretched when app is launched in portrait mode and app supports only landscape.

GitHub Issuen/a
TypeBug
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 2.1.2, Release 3.1.0
Fix Version/sn/a
ComponentsAndroid
Labelsapi, qe-and082012
ReporterAnshu Mittal
AssigneeUnknown
Created2012-08-22T04:52:35.000+0000
Updated2018-02-28T20:03:24.000+0000

Description

Appcelerator logo seems stretched when app is launched in portrait mode and app supports only landscape. This is not regression since issue occurs in 2.0.1 also. Steps to reproduce: 1. Create an app using the code below. 2. Launch the app in portrait mode. Actual: The splash screen launches in portrait mode and then moves into landscape mode for a second. During this orientation change of splash screen, the appcelerator logo seems stretched. Expected: Appcelerator logo should not be stretched.

var win = Ti.UI.createWindow({
	backgroundColor:'white'
});

var img = Ti.UI.createImageView({image:'grouch.jpg'});

win.add(img);

win.orientationModes = [
    Ti.UI.LANDSCAPE_LEFT,
    Ti.UI.LANDSCAPE_RIGHT
];

win.open();

Comments

  1. jithinpv 2013-03-18

    Issue reproduces with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 (03/11/13 15:43 0c88429) Titanium SDK version: 3.0.2 (02/07/13 16:46 a4def81) Device: Samsung galaxy s duos Android version: 4.0.4 jithinpv

JSON Source