[TIMOB-27831] Android: Implement TabGroup.tintColor
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-06-09T14:58:20.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.0.3 |
Components | Android |
Labels | n/a |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2020-04-02T21:47:20.000+0000 |
Updated | 2020-06-09T14:58:20.000+0000 |
Description
Implement ability to specify a
tintColor
or activeTintColor
for tab icons.
*TEST CASE*
const tabGroup = Ti.UI.createTabGroup({
// style: Ti.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION
});
const tabWin_home = Ti.UI.createWindow({
title: 'Home',
backgroundColor: 'white'
});
const tab_home = Ti.UI.createTab({
icon: 'home.png',
title: 'Home',
titleColor: 'red',
activeTitleColor: 'blue',
tintColor: 'red',
activeTintColor: 'blue',
window: tabWin_home
});
const tabWin_chat = Ti.UI.createWindow({
title: 'Chat',
backgroundColor: 'white'
});
const tab_chat = Ti.UI.createTab({
icon: 'chat.png',
title: 'Chat',
titleColor: 'red',
activeTitleColor: 'blue',
tintColor: 'red',
activeTintColor: 'blue',
window: tabWin_chat
});
tabGroup.addTab(tab_home);
tabGroup.addTab(tab_chat);
tabGroup.open();
master: https://github.com/appcelerator/titanium_mobile/pull/11590
FR Passed for master 9_0_X. Waiting on Jenkins build.
merged to 9_0_X for 9.0.3 target
manually merged/rebased to master for 9.1.0 target
Closing ticket, Fix verified SDK version 9.0.3.v20200609060523 and SDK version 9.1.0.v20200609061322 Test and other information can be found at: master: https://github.com/appcelerator/titanium_mobile/pull/11590