Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-25208] Android: TouchFeedbackColor not working with borderRadius

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2017-09-25T22:13:03.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.2.0
ComponentsAndroid
Labelsandroid, touchfeedback
ReporterMichael Gangolf
AssigneeGary Mathews
Created2017-08-12T18:39:25.000+0000
Updated2017-09-25T22:13:03.000+0000

Description

The touchFeedbackColor that was introduced with 6.1.0.GA is not working if a button has a borderRadius:
var win = Ti.UI.createWindow({
	backgroundColor: '#fff',
	layout: "vertical"
});

var button0 = Ti.UI.createButton({
	title: "working",
	tintColor: "#f34102"
});

var button1 = Ti.UI.createButton({
	title: "working",
	backgroundColor: "#f34102",
	touchFeedback: true,
	touchFeedbackColor: '#912701',
    top:20
});

var button2 = Ti.UI.createButton({
	title: "not working",
	backgroundColor: "#f34102",
	touchFeedback: true,
	touchFeedbackColor: '#912701',
	borderRadius: 4,
	top: 20
});

win.add(button0);
win.add(button1);
win.add(button2);
win.open();
The native button0 and button1 are showing the ripple effect. The last button2 with a borderRadius just shows the backgroundColor without a ripple effect. SDK: 6.1.2.GA Android: HTC A9 Android 7 / Moto G2 5.0.2

Comments

  1. Gary Mathews 2017-09-25

    [~michael] This has been fixed in 6.2.0.GA

JSON Source