Project: titanium
Issue TIMOB-19404: Windows: ImageView Layout parity
Make sure {{Ti.UI.ImageView}} layout parity. For instance, specifying {{Ti.UI.FILL}} for width & height should stretch image with size of the parent view. {code} var win = Ti.UI.createWindow({ backgroundColor: 'blue' }); var view = Ti.UI.createView({ backgroundColor: 'red', width: '50%', height:'50%' }); var imageview = Ti.UI.createImageView({ image: "http://image.tmdb.org/t/p/w780//3FweBee0xZoY77uO1bhUOlQorNH.jpg", width: Ti.UI.FILL, height: Ti.UI.FILL }); view.add(imageview); win.add(view); win.open() {code}
Story points: 8