{ "id": "172815", "key": "TIMOB-26693", "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-05T00:57:39.000+0000", "priority": null, "labels": [ "alloy", "android", "feature", "parity" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-01-07T19:08:13.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": [], "description": "I've been looking through the documentation but can't seem to find a way to set the status bar's colour on Android. Is this feature going to be added in the future? Are they any workarounds for the moment? Thanks!", "attachment": [], "flagged": false, "summary": "Android status bar colour", "creator": { "name": "lfisklennon", "key": "lfisklennon", "displayName": "Luke Fisk-Lennon", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "lfisklennon", "key": "lfisklennon", "displayName": "Luke Fisk-Lennon", "active": true, "timeZone": "Australia/Sydney" }, "environment": null, "comment": { "comments": [ { "id": "445014", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "You have to use a Theme to do this. Please follow the guide at https://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-01-06T12:40:52.000+0000", "updated": "2019-01-06T12:40:52.000+0000" }, { "id": "445018", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Thanks for the ticket. Currently, there is no way to do styling statusbar in Android. This will be a nice feature added to the platform in future updates. Our engineers will look into it. Currently, we have a lot in our pipeline, so implementing this will take time. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-01-07T04:16:23.000+0000", "updated": "2019-01-07T04:16:23.000+0000" }, { "id": "445044", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Doing it via a theme as [~michael] suggested is the best solution. That is typically how a native Android app developer would do it as well. This is also the simplest solution.\r\n\r\nHave a look at our \"kitchensink-v2\" example app. It uses a custom theme XML file. Its \"colorPrimary\" setting sets the main color for the top status bar, top action bar, and bottom navigation bar.\r\nhttps://github.com/appcelerator/kitchensink-v2/blob/master/app/platform/android/res/values/custom_theme.xml\r\n\r\nAlternatively, you can remove the top title bar via \"Theme.AppCompat.NoTitleBar\", use Titanium's {{Toolbar}} as the title bar instead, and then set {{Toolbar}} property \"extendBackground\" to {{true}}. This will extend the {{Toolbar}} underneath the top status bar (so that the status bar overlaps the toolbar) and you can then apply whatever color you want to the toolbar. Just note that this is not a viable solution if you {{TabGroups}}.\r\nhttps://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Toolbar-property-extendBackground\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-07T19:08:13.000+0000", "updated": "2019-01-07T19:08:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }