Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7520] Android: Button - setting backgroundImage causes the button not provide visual feedback when it is clicked

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionWon't Fix
Resolution Date2012-02-04T02:18:57.000+0000
Affected Version/sRelease 1.8.1
Fix Version/sn/a
ComponentsAndroid
Labelsqe-testadded, regression
ReporterJon Alter
AssigneeJosh Roesslein
Created2012-02-02T11:11:47.000+0000
Updated2017-03-10T18:56:07.000+0000

Description

Ti.UI.Button does not give feedback that it is being clicked if it has backgroundImage set. Step 1: add the attached image to your Resources folder Step 2: run the code below Step 3: click the button Step 4: notice that that button does not give any feedback that it is being clicked
var win = Ti.UI.createWindow({backgroundColor:'#fff'});

var share = Ti.UI.createButton({
	// title: 'Share',
	top: 50,
	left: 50,
	width: 130,
	height: 35,
	backgroundImage:'share.png'
});
win.add(share);

win.open();

Comments

  1. Lee Morris 2017-03-10

    Closing ticket as the issue will not fix.

JSON Source