{ "id": "165042", "key": "TIMOB-24233", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-01-24T20:38:01.000+0000", "created": "2016-12-16T13:53:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "fmerzadyan", "key": "fmerzadyan2", "displayName": "Frankie Merzadyan", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-25T18:58:49.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": "Hello, tabsBackgroundColor for tabGroup is not work in Android, iOS is working as expected. Docs shows it's supported. http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TabGroup-property-tabsBackgroundColor\r\n\r\n{code:js}\r\nvar tabGroup = Ti.UI.createTabGroup({\r\n tabsBackgroundColor: 'green'\r\n});\r\n{code}\r\n\r\nTested with latest SDK 6.0.0.GA. Thanks.", "attachment": [ { "id": "61118", "filename": "Screenshot_20161220-223850.png", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-12-20T16:44:51.000+0000", "size": 25249, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: tabsBackgroundColor is not working.", "creator": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "environment": null, "closedSprints": [ { "id": 796, "state": "closed", "name": "2017 Sprint 02 SDK", "startDate": "2017-01-15T00:00:41.845Z", "endDate": "2017-01-29T00:00:00.000Z", "completeDate": "2017-01-30T21:10:44.640Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "403558", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~fmerzadyan] Can you check? Thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-17T16:16:14.000+0000", "updated": "2016-12-17T16:16:14.000+0000" }, { "id": "404382", "author": { "name": "fmerzadyan", "key": "fmerzadyan2", "displayName": "Frankie Merzadyan", "active": false, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8740", "updateAuthor": { "name": "fmerzadyan", "key": "fmerzadyan2", "displayName": "Frankie Merzadyan", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-01-10T19:02:59.000+0000", "updated": "2017-01-10T19:02:59.000+0000" }, { "id": "405288", "author": { "name": "awaldman", "key": "awaldman", "displayName": "Andy Waldman", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Wednesday 25th January:\r\nEnvironment: \r\nAppcelerator Command-Line Interface, version 6.1.0 \r\nAndroid 7.1 (Google Pixel) \r\nOperating System Name: MacOS Sierra \r\nOperating System Version: 10.12.1 \r\nNode.js Version: 4.5.0 \r\nNPM: 4.2.8 \r\nAppc NPM: 4.2.8 \r\nTitanium SDK Version: 6.1.0.v20170125103400\r\nXcode: 8.2.1 \r\nStudio Build: 4.8.1.201612050850\r\n\r\nStep 1) Add a background color attribute to the window in app js:\r\n\r\n{code:java}\r\n/**\r\n * Create a new `Ti.UI.TabGroup`.\r\n */\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n\r\n/**\r\n * Add the two created tabs to the tabGroup object.\r\n */\r\ntabGroup.addTab(createTab(\"Tab 1\", \"I am Window 1\", \"assets/images/tab1.png\"));\r\ntabGroup.addTab(createTab(\"Tab 2\", \"I am Window 2\", \"assets/images/tab2.png\"));\r\n/**\r\n * Open the tabGroup\r\n */\r\ntabGroup.open();\r\n\r\n/**\r\n * Creates a new Tab and configures it.\r\n *\r\n * @param {String} title The title used in the `Ti.UI.Tab` and it's included `Ti.UI.Window`\r\n * @param {String} message The title displayed in the `Ti.UI.Label`\r\n * @return {String} icon The icon used in the `Ti.UI.Tab`\r\n */\r\nfunction createTab(title, message, icon) {\r\n var win = Ti.UI.createWindow({\r\n title: title,\r\n backgroundColor: 'blue'\r\n });\r\n\r\n var label = Ti.UI.createLabel({\r\n text: message,\r\n color: \"#333\",\r\n font: {\r\n fontSize: 20\r\n }\r\n });\r\n\r\n win.add(label);\r\n\r\n var tab = Ti.UI.createTab({\r\n title: title,\r\n icon: icon,\r\n window: win\r\n });\r\n \r\n tab.backgroundColor = \"blue\";\r\n\t\r\n return tab;\r\n}\r\n\r\n{code}\r\n\r\nStep 2) Build and run application on Pixel with latest 6.1.0 \r\nStep 3) Check to make sure the app window has matching background color to the one set and nothing breaks\r\nStep 4) Fix verified ", "updateAuthor": { "name": "awaldman", "key": "awaldman", "displayName": "Andy Waldman", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-25T18:58:32.000+0000", "updated": "2017-01-25T18:58:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }