Problem
BackgroundSelectedImage does not work on Button component.
REGRESSION! - works fine with SDK 1.7.5
Steps
1. Run the code from above
2. Click the button
Sample Code
// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var button = Ti.UI.createButton({
backgroundImage: 'call.png',
backgroundSelectedImage: 'settings.png',
color: '#fff',
height: 30, width: 100, top: 45, left: 5,
});
win1.add(button);
win1.open();
Any fixes for this issue (or for TIMOB-6644) should be checked to see if they resolve the other.
Reproduced with 1.8.0.1 and 1.9.0 releases, but not on master branch. Probably needs back-porting.
Verified to be fixed by TIMOB-6644