{ "id": "175695", "key": "TIMOB-28220", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-11-19T16:23:34.000+0000", "created": "2020-11-03T17:49:35.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "TabGroup", "android", "regression", "tab" ], "versions": [ { "id": "20950", "name": "Release 9.1.0", "archived": false, "released": true, "releaseDate": "2020-08-25" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-11-19T16:23:34.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h5.Description\r\n\r\nWhen setting the {{tintColor/activeTintColor}} or {{titleColor/activeTitleColor}} properties they are no longer respected as of 9.1.0.GA when the style is set to {{TABS_STYLE_BOTTOM_NAVIGATION}} and the icons are no longer coloured.\r\n\r\nNote: The {{titleColor/activeTitleColor}} properties do color the title in 9.1.0.GA, whereas in 9.0.3.GA they color both the icon and the title. This might be expected behaviour\r\n\r\n{code}\r\nconst tabGroup = Ti.UI.createTabGroup({\r\n\tstyle: Ti.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION,\r\n\ttintColor: 'red',\r\n\tactiveTintColor: 'blue'\r\n}); \r\nconst tabWin_home = Ti.UI.createWindow({\r\n \ttitle: 'Home',\r\n \tbackgroundColor: 'white'\r\n});\r\nconst tab_home = Ti.UI.createTab({\r\n \ticon: 'assets/images/tab1.png',\r\n \ttitle: 'Home',\r\n \twindow: tabWin_home,\r\n\ttintColor: 'red',\r\n\tactiveTintColor: 'blue'\r\n}); \r\nconst tabWin_chat = Ti.UI.createWindow({\r\n\ttitle: 'Chat',\r\n\tbackgroundColor: 'white'\r\n});\r\nconst tab_chat = Ti.UI.createTab({\r\n\ticon: 'assets/images/tab2.png',\r\n\ttitle: 'Chat',\r\n\twindow: tabWin_chat,\r\n\ttintColor: 'red',\r\n\tactiveTintColor: 'blue',\r\n});\r\ntabGroup.addTab(tab_home);\r\ntabGroup.addTab(tab_chat);\r\ntabGroup.open();\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Add the code above to an existing classic project (it references images from the default template)\r\n2. Build to Android using 9.1.0.GA or higher\r\n\r\nh5.Actual\r\n\r\nNo color set on the icons\r\n\r\nh5.Expected\r\n\r\nIcons should be blue when tab is active and red when tab is inactive", "attachment": [], "flagged": false, "summary": "Android: tintColor/activeTintColor or titleColor/activeTitleColor not respected for tabgroup with style TABS_STYLE_BOTTOM_NAVIGATION", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": null, "closedSprints": [ { "id": 1209, "state": "closed", "name": "2020 Sprint 22", "startDate": "2020-10-27T02:33:00.000Z", "endDate": "2020-11-07T02:33:00.000Z", "completeDate": "2020-11-06T17:45:42.610Z", "originBoardId": 114 }, { "id": 1210, "state": "closed", "name": "2020 Sprint 23", "startDate": "2020-11-09T17:49:00.000Z", "endDate": "2020-11-20T17:49:00.000Z", "completeDate": "2020-11-20T17:46:00.641Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "457426", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/12242", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-11-03T19:04:58.000+0000", "updated": "2020-11-03T19:04:58.000+0000" }, { "id": "457470", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master for 9.3.0 target.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2020-11-06T18:01:02.000+0000", "updated": "2020-11-06T18:01:02.000+0000" }, { "id": "457647", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*. Fix verified in SDK version {{9.3.0.v20201119063936}}.\r\n\r\nTest and other information can be found at:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/12242\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-11-19T16:23:27.000+0000", "updated": "2020-11-19T16:23:27.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }