{ "id": "170488", "key": "AC-5414", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2017-12-27T22:11:51.000+0000", "created": "2017-11-29T12:15:30.000+0000", "labels": [ "actionbar", "android", "drawerlayout" ], "versions": [], "issuelinks": [ { "id": "56192", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "170504", "key": "TIMOB-25572", "fields": { "summary": "Android: Provide Toolbar customization through DrawerLayout", "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" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-12-27T22:11:51.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I'm facing a problem with drawer menus in Android.\r\n\r\nI want my app to display the drawer menu over the ActionBar. I managed to do that by setting a couple of properties on my app theme, but the problem is that after using those two properties, my ActionBar title color will change to black, and I want it to be white.\r\n\r\n*mytheme.xml:*\r\n\r\n{code:xml}\r\n\r\n{code}\r\n\r\nI uploaded some images so you can see what's happening to me.\r\n\r\nIf I don't set windowActionBar and windowNoTitle on my theme you can check how my app will look like by opening the image _drawer_below_actionbar.png_\r\n\r\nIf I do set those two properties on my theme, then the drawer will cover the ActionBar but its title will get black instead of white. Check images _drawer_over_actionbar.png_ and _actionbar_wrong_color.png_", "attachment": [ { "id": "63708", "filename": "actionbar_wrong_color.png", "author": { "name": "gfigueras", "key": "gfigueras", "displayName": "Guillermo Figueras", "active": true, "timeZone": "Europe/Madrid" }, "created": "2017-11-29T12:11:46.000+0000", "size": 13731, "mimeType": "image/png" }, { "id": "63707", "filename": "drawer_below_actionbar.png", "author": { "name": "gfigueras", "key": "gfigueras", "displayName": "Guillermo Figueras", "active": true, "timeZone": "Europe/Madrid" }, "created": "2017-11-29T12:11:47.000+0000", "size": 38065, "mimeType": "image/png" }, { "id": "63706", "filename": "drawer_over_actionbar.png", "author": { "name": "gfigueras", "key": "gfigueras", "displayName": "Guillermo Figueras", "active": true, "timeZone": "Europe/Madrid" }, "created": "2017-11-29T12:11:47.000+0000", "size": 32409, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: can't display drawer menu over ActionBar correctly (title color gets overwritten)", "creator": { "name": "gfigueras", "key": "gfigueras", "displayName": "Guillermo Figueras", "active": true, "timeZone": "Europe/Madrid" }, "subtasks": [], "reporter": { "name": "gfigueras", "key": "gfigueras", "displayName": "Guillermo Figueras", "active": true, "timeZone": "Europe/Madrid" }, "environment": "Titanium SDK 6.3.0\r\nNexus 5X 7.1.0 (emulator)", "comment": { "comments": [ { "id": "431458", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "[~gfigueras] These two properties disable the default ActionBar, so I assume you are using an instance of Toolbar as one? If that is the case - `titleTextColor` can be used:\r\nhttps://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Toolbar-property-titleTextColor\r\nIf that is not the case and you are able to provide how are you setting up your ActionBar it would be really helpful.", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2017-11-29T16:27:00.000+0000", "updated": "2017-11-29T16:27:00.000+0000" }, { "id": "431639", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-03T19:59:23.000+0000", "updated": "2017-12-03T19:59:23.000+0000" }, { "id": "432569", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "The issue is resolved in SDK 7.0.1.GA.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-12-27T22:11:51.000+0000", "updated": "2017-12-27T22:11:51.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }