{ "id": "172870", "key": "TIMOB-26734", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [], "resolution": null, "resolutiondate": null, "created": "2019-01-15T19:43:52.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "TabGroup", "android", "icon", "parity", "tab", "tintColor" ], "versions": [], "issuelinks": [ { "id": "57460", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "173105", "key": "TIMOB-27071", "fields": { "summary": "Ti SDK 8: Android TabBar and Tab, no way to preserve icon color", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-02-03T21:11:55.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "*Summary:*\r\niOS {{TabGroup}} currently supports [activeTabIconTint|https://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TabGroup-property-activeTabIconTint] which applies a color tint to the currently selected tab's icon. We would like to add the same to Android for parity.\r\n\r\n*Note:*\r\nTheoretically, you should be able to do this now via a res/drawable \"selector\" XML file as shown below, but I haven't tested it.\r\nhttps://github.com/appcelerator/titanium_mobile/pull/10358#issuecomment-454525273\r\n", "attachment": [], "flagged": false, "summary": "Android: Add \"activeTabIconTint\" support to TabGroup", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "451126", "author": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "body": "[BottomNavigationMenuView.setIconTintList(ColorStateList tint)|https://github.com/material-components/material-components-android/blob/bf8b3e9337b86dbffb4b7dfbf59ece555991feb6/lib/java/com/google/android/material/bottomnavigation/BottomNavigationMenuView.java#L244]\r\n", "updateAuthor": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "created": "2019-09-05T15:48:06.000+0000", "updated": "2019-09-05T15:48:06.000+0000" }, { "id": "451202", "author": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "body": "https://github.com/appcelerator/titanium_mobile/compare/master...drauggres:TIMOB-26734?expand=1\r\n\r\nOnly problem with this approach is that developer must define a color for the \"not active\" state in xml (otherwise it would be taken from the theme), e.g.:\r\n\r\n{code:xml}\r\n\r\n\r\n\r\n\r\n#8a000000\r\n{code}\r\n ", "updateAuthor": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "created": "2019-09-09T09:20:00.000+0000", "updated": "2019-09-09T09:20:00.000+0000" }, { "id": "458151", "author": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "updateAuthor": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "created": "2021-02-03T21:11:55.000+0000", "updated": "2021-02-03T21:11:55.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }