Project: titanium
Issue TIMOB-4800: Ti.UI.backgroundColor/Ti.UI.backgroundImage not translucent
h3. Setting background on Root Window 1) Create project in TiStudio and replace app.js with {code:JavaScript} Ti.UI.backgroundColor = '#f00'; Ti.UI.backgroundImage = 'KS_nav_ui.png'; var win = Ti.UI.createWindow(); win.open(); {code} (or use attached Resources folder) 2) Launch application Expected: Image appears with a red background. Actual: Only image appears. (See screen shot) Note: Talked to Jon Alter about this. He says it isn't a major issue because he doesn't see a circumstance where someone would set the background this way. It is a parity issue. Setting the background this way works as expected on iOS devices. h3. Setting background on a view. Verify image is shown with a red background. Also verify background color changes when the state of the view changes (ex: focused, selected). {code:JavaScript} var win = Ti.UI.createWindow({	backgroundColor: 'white',	layout: 'vertical' }); var colorView = Ti.UI.createView({	width: 400, height: 400,	focusable: true,	backgroundColor: 'blue',	backgroundImage: 'background.png',	backgroundSelectedColor: 'red',	backgroundFocusedColor: 'yellow',	backgroundDisabledColor: 'black' }); win.add(colorView); var disableButton = Ti.UI.createButton({	title: 'Enable/Disable View',	width: 150 }); disableButton.on('click', function() {	colorView.enabled = !colorView.enabled; }); win.add(disableButton); win.open(); {code}
Story points: 2