[TIMOB-8874] Android: Differentiate Splash screen with respect to resolutions
GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-03-20T07:46:21.000+0000 |
Affected Version/s | Release 1.8.3 |
Fix Version/s | Release 3.0.2 |
Components | Android |
Labels | core |
Reporter | Varun Joshi |
Assignee | jithinpv |
Created | 2012-04-24T14:38:38.000+0000 |
Updated | 2017-03-17T18:42:05.000+0000 |
Description
1280x800 is a very common resolution for popular android tablets (Motorola Xoom, Sony S1, Samsung Galaxy Tab 8.9/10.1)
But there are other devices such as Samsung Galaxy Tab 7 - 1024x600 (1.7:1 ratio)
All of the above are MDPI, but all are different ratio/resolution screens.
Problem
I tested on the Asus Eee Pad Transformer Prime device with 1280 x 800 (1.6:1) resolution. The splash screen is being taken from the correct android/images folder i.e. res-notlong-land-mdpi but the image appears to be stretched for landscape mode. It seems to be working fine for portrait mode. The resolution for the default.png image used is 480 x 320 but the splash screen is stretched to fit the screen rather than, say scaled and cropped to avoid distortion.
Please see the attached screenshot.
Steps to Reproduce
Create a default Titanium project and empty the app.js file. This will cause the app to be stuck on the splash screen so it is clearly visible.
Attachments
Issue does not reproduces Tested 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: Motorola xoom 2 Android version: 4.0.4 jithinpv
Closing ticket as the issue cannot be reproduced.