[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 Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.1.2, Release 3.1.0 |
Fix Version/s | n/a |
Components | Android |
Labels | api, qe-and082012 |
Reporter | Anshu Mittal |
Assignee | Unknown |
Created | 2012-08-22T04:52:35.000+0000 |
Updated | 2018-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();
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