Project: titanium
Issue TIMOB-5989: Android: Button's image attribute behaves the same as the backgroundImage attribute
h4.Problem The button's image attribute does not work as described in documentation "the image to display on the button to the left of the title". Image scales to fill the entire button background. h6.Titanium API - Image property http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.Button-object h6.Tested on Android Emulator v2.2 & Android LG Ally device v2.2.1 h6.Repro sequence {code:title=app.js} var win1 = Titanium.UI.createWindow({ title:'Win 1', backgroundColor:'#fff' }); var button = Titanium.UI.createButton({	top: 60,	title : 'Hello',	width : '140',	height : '40',	//backgroundImage : 'button.png',	image: 'button.png',	//backgroundLeftCap:12,	//backgroundTopCap:12,	//textAlign: Titanium.UI.TEXT_ALIGNMENT_RIGHT }); win1.add(button); win1.open(); {code} h6.Associated HD ticket APP-379158
Story points: 2