Fail Case / Test Case
1. Create a new app.
2. Replace the new app's app.js with the one here below.
3. Run the app.
Symptom
When the app window opens, it'll just get the small KS_nav_ui.png image on it (in the fail case -- if you're testing the fix, you should see the image expanded and scaled to the window.)
In iOS, if you run this app, it will expand/scale to the window.
Titanium.UI.setBackgroundColor('#000');
var win = Titanium.UI.createWindow({
title:'Test',
backgroundColor:'#000',
exitOnClose: true
});
win.add(Ti.UI.createImageView({
image: "KS_nav_ui.png"
}));
win.open();
Going to resolve this since the behavior in iOS now matches android. Neither iOS or android expand/stretch the icon now.
Tested with 2.0.0.v20120321071752 on Motorola Xoom 4.0.2 and iPhone 4 (5.1)
Open to update label