Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13296] Android: Button selectedColor

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2014-02-21T01:05:58.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterMartin Guillon
AssigneeVishal Duggal
Created2012-10-11T08:24:50.000+0000
Updated2017-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();

Comments

  1. Ingo Muschenetz 2014-02-21

    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.
  2. Ingo Muschenetz 2014-02-21

    Related PR: https://github.com/appcelerator/titanium_mobile/pull/3165
  3. Lee Morris 2017-03-29

    Closing ticket with reference to the above comments.

JSON Source