Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27830] Android: TabGroup.titleColor has no effect

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2020-06-09T14:58:33.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.0.3
ComponentsAndroid
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2020-04-02T21:25:08.000+0000
Updated2020-10-15T17:24:31.000+0000

Description

Attempting to specify a titleColor or activeTitleColor does not work, the TabGroup defaults to standard system colors. *TEST CASE*
const tabGroup = Ti.UI.createTabGroup();

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',
   	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',
	window: tabWin_chat
});

tabGroup.addTab(tab_home);
tabGroup.addTab(tab_chat);
tabGroup.open();

Comments

  1. Gary Mathews 2020-04-02

    master: https://github.com/appcelerator/titanium_mobile/pull/11590
  2. Samir Mohammed 2020-06-08

    FR Passed for master 9_0_X. Waiting on Jenkins build.
  3. Christopher Williams 2020-06-08

    merged to 9_0_X for 9.0.3 target
  4. Christopher Williams 2020-06-08

    manually merged/rebased to master for 9.1.0 target
  5. Samir Mohammed 2020-06-09

    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
  6. Caio Perdona 2020-10-15

    Inactive Tab icon tintColor is not working on 9.2.0.GA for Android

JSON Source