Project: titanium
Issue TIMOB-8243: Android: ScrollView - If a view is added to a scrollview, the view will not fill the screen
Steps to reproduce: 1. Run the following code on Android: {code} //Create a Ti.UI.View with scroll view and do not put any content var win = Ti.UI.createWindow(); win.backgroundColor = 'white'; var label = Ti.UI.createLabel({	text: 'View Size is: ',	top: 20,	left: 10,	height: Ti.UI.SIZE,	width: Ti.UI.SIZE,	color: 'black' }); var scrollView = Titanium.UI.createScrollView({ contentHeight:'auto', contentWidth:'auto', showVerticalScrollIndicator:true, showHorizontalScrollIndicator:true }); var view = Ti.UI.createView(); var view2 = Ti.UI.createView({	backgroundColor:'red' }) scrollView.add(view2); win.addEventListener('postlayout', function layoutHandler(e) {	win.removeEventListener('postlayout', layoutHandler);	label.text = 'ScrollView\'s height and width: ' + scrollView.size.height + 'x' + scrollView.size.width + '\n' +	'Screen\'s height and width: ' + win.size.height + 'x' + win.size.width;	win.addEventListener('postlayout', layoutHandler); }); win.add(scrollView); win.add(view); view.add(label); win.open(); {code} Actual: A white view appears. Expected: A red view should fill the screen similarly to iOS. See attachments
Story points: 2