Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8874] Android: Differentiate Splash screen with respect to resolutions

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-03-20T07:46:21.000+0000
Affected Version/sRelease 1.8.3
Fix Version/sRelease 3.0.2
ComponentsAndroid
Labelscore
ReporterVarun Joshi
Assigneejithinpv
Created2012-04-24T14:38:38.000+0000
Updated2017-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

FileDateSize
device-landscape.png2012-04-24T14:38:38.000+0000251281
device-portrait.png2012-04-24T14:38:38.000+0000393978

Comments

  1. jithinpv 2013-03-20

    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
  2. Lee Morris 2017-03-17

    Closing ticket as the issue cannot be reproduced.

JSON Source