{
"id": "176231",
"key": "TIMOB-28493",
"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": [],
"resolution": {
"id": "11",
"description": "Is not a bug in our product",
"name": "Not Our Bug"
},
"resolutiondate": "2021-06-23T18:12:36.000+0000",
"created": "2021-06-10T17:08:44.000+0000",
"priority": {
"name": "Critical",
"id": "1"
},
"labels": [],
"versions": [
{
"id": "21050",
"name": "Release 10.0.0",
"archived": false,
"released": true,
"releaseDate": "2021-05-17"
}
],
"issuelinks": [],
"assignee": {
"name": "jquick",
"key": "jquick",
"displayName": "Joshua Quick",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updated": "2021-06-23T18:12:36.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": "When creating a custom theme in SDK10 using a material theme as the parent, create a tab group and set the style to Titanium.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION. \r\n\r\nIf you set the following property in the style XML file:\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n\r\nWhen you load the app, it will fail referencing issues with *APPCOMPAT* so I believe that the bottom navigation configuration is still referencing the old theme structure instead of the new one.",
"attachment": [],
"flagged": false,
"summary": "Custom Theme on SDK 10 fails with Titanium.UI.Android.TABS_STYLE_BOTTOM_NAVIGATION on tabs",
"creator": {
"name": "raybelisle",
"key": "raybelisle",
"displayName": "Ray Belisle",
"active": true,
"timeZone": "America/Edmonton"
},
"subtasks": [],
"reporter": {
"name": "raybelisle",
"key": "raybelisle",
"displayName": "Ray Belisle",
"active": true,
"timeZone": "America/Edmonton"
},
"environment": "Ti SDK 10",
"closedSprints": [
{
"id": 1227,
"state": "closed",
"name": "2021 Sprint 12",
"startDate": "2021-06-11T20:29:43.936Z",
"endDate": "2021-06-25T20:29:00.000Z",
"completeDate": "2021-07-06T14:26:59.346Z",
"originBoardId": 114
}
],
"comment": {
"comments": [
{
"id": "458800",
"author": {
"name": "gmathews",
"key": "gmathews",
"displayName": "Gary Mathews",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "master: https://github.com/appcelerator/titanium_mobile/pull/12908",
"updateAuthor": {
"name": "gmathews",
"key": "gmathews",
"displayName": "Gary Mathews",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2021-06-18T22:38:00.000+0000",
"updated": "2021-06-18T22:38:00.000+0000"
},
{
"id": "458808",
"author": {
"name": "jquick",
"key": "jquick",
"displayName": "Joshua Quick",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "[~raybelisle], this is not a Titanium bug. It's a limitation in Google's material components/widgets which Titanium switch to as of Titanium 10.0.0. Please see the following issue report submitted to Google below since it's the exact same issue you're facing.\r\nhttps://github.com/material-components/material-components-android/issues/226\r\n\r\nBasically, Google's bottom tabs widget does *NOT* accept raw color values for the \"textColorSecondary\" style. Instead, you must assign it a color constant. For example, use an {{\\@android:color/*}} constant as shown below...\r\n{code:xml}\r\n\r\n\t\r\n\r\n{code}\r\n\r\nAlternatively, set up your own color constant like this...\r\n{code:xml}\r\n\r\n\t#000000\r\n\t\r\n\r\n{code}\r\n\r\nThat said, the top and bottom \"material\" tabs ignore the \"textColorSecondary\" primary style. They use the \"colorPrimary\" and \"colorOnSurface\" styles instead for the text/icon colors. Please see the \"Tab item text label attributes\" section in the link below where Google fully documents all styles used.\r\nhttps://material.io/components/tabs/android#scrollable-tabs\r\n",
"updateAuthor": {
"name": "jquick",
"key": "jquick",
"displayName": "Joshua Quick",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2021-06-23T02:09:21.000+0000",
"updated": "2021-06-23T02:09:21.000+0000"
},
{
"id": "458810",
"author": {
"name": "raybelisle",
"key": "raybelisle",
"displayName": "Ray Belisle",
"active": true,
"timeZone": "America/Edmonton"
},
"body": "@Joshua Quick, that was great. Thanks for the information! All working now!\r\n",
"updateAuthor": {
"name": "raybelisle",
"key": "raybelisle",
"displayName": "Ray Belisle",
"active": true,
"timeZone": "America/Edmonton"
},
"created": "2021-06-23T15:56:32.000+0000",
"updated": "2021-06-23T15:57:42.000+0000"
}
],
"maxResults": 3,
"total": 3,
"startAt": 0
}
}
}