[TIMOB-13296] Android: Button selectedColor
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Medium |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2014-02-21T01:05:58.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | n/a |
| Reporter | Martin Guillon |
| Assignee | Vishal Duggal |
| Created | 2012-10-11T08:24:50.000+0000 |
| Updated | 2017-03-29T17:48:37.000+0000 |
Description
Would be nice to have selectedColor for button on android, just like on ios
var win = Titanium.UI.createWindow();
win.backgroundColor = '#ccc';
var button = Ti.UI.createButton({
focusable:true,
title:'Test Button',
color:'white',
selectedColor:'black'
});
win.add(button);
win.open();
Thank you very much for your PR. This is considered a non-native behavior and we prefer not to support it. Those interested in the functionality can merge the PR in a custom SDK.
Related PR: https://github.com/appcelerator/titanium_mobile/pull/3165
Closing ticket with reference to the above comments.