Project: titanium
Issue TIMOB-17563: Android: Image incorrectly sized when using windowBackground with custom theme 
h4. Problem Description There is a strange behavior when using custom theme, basically if you don't use this one: {code}
@drawable/splash
{code} it will fail (it shows a smaller screen/view in android) - Check Image1.png If you remove it, it will work just fine. - Check Image2.png h4. Steps to reproduce 1. Create a new mobile project (classic titanium) 2. Add this app.js: {code}	var mainView = Ti.UI.createView({	layout: 'vertical',	height: Ti.UI.FILL	});	var textField = Ti.UI.createTextField({ top: 10,	autocapitalization: Titanium.UI.TEXT_AUTOCAPITALIZATION_NONE,	autocorrect: false	}); mainView.add(textField);	var validateButton = Ti.UI.createButton({ top: 15, left: 8, right: 8, title: 'Validate content'	});	mainView.add(validateButton);	validateButton.addEventListener("click", function () {	if (validateTextFieldCommand) {	validateTextFieldCommand(textField.value);	}	});	var win = Ti.UI.createWindow({backgroundColor:'blue'});	win.add(mainView);	win.open(); {code} Add this to your mytheme.xml (inside platform->android->res->values): {code} {code} Specify in tiapp.xml which theme you going to use (excerpt): {code} {code} 3. Run it into device. h4. Actual results if you enable the windowBackground in the custom theme, the views will be smaller. h4. Extra info I attached a full testcase in the form of a project with the name viewport-3-3-0-reduced.zip.
Story points: 5