{ "id": "170623", "key": "TIMOB-25610", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-10-17T16:13:01.000+0000", "created": "2017-12-14T03:09:37.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "DrawerLayout" ], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" }, { "id": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-10-17T16:13:01.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": "h6.Problem\r\nAfter removing actionBar by using \"@style/Theme.AppCompat.Light.NoActionBar\", The centerWindow of DrawerLayout is leaving a black box in the top of screen. And the left and right Windows looks all right. (Attached screen shot.)\r\n\r\nh6.Reproduce\r\n1. Create a simple classic project.\r\n2. Add following code to app,js\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar leftView = Ti.UI.createView({ backgroundColor:'red' });\r\nvar centerView = Ti.UI.createView({ backgroundColor:'yellow' });\r\nvar rightView = Ti.UI.createView({ backgroundColor:'orange' });\r\n\r\nvar drawer = Ti.UI.Android.createDrawerLayout({\r\n leftView: leftView,\r\n centerView: centerView,\r\n rightView: rightView\r\n});\r\n\r\nwin.add(drawer);\r\nwin.open();\r\n{code}\r\n3. Add following lines to tiapp.xml\r\n{code}\r\n\r\n \t\r\n \t\r\n \t\r\n \t\r\n\r\n{code}\r\n4. Add attached mytheme.xml file into ./platform/android/res/values folder\r\n5. Run the app. You will see the problem.\r\n\r\nh6.Note\r\n1. The problem can be reproduce in both SDK 6.3.0 and 7.0.0.GA", "attachment": [ { "id": "63810", "filename": "mytheme.xml", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2017-12-14T03:08:00.000+0000", "size": 1190, "mimeType": "text/xml" }, { "id": "63811", "filename": "Screen Shot 2017-12-14 at 11.00.37 AM.png", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2017-12-14T03:04:22.000+0000", "size": 123121, "mimeType": "image/png" } ], "flagged": false, "summary": "Android DrawerLayout: Unexpected Behaviour when using \"Theme.AppCompat.Light.NoActionBar\"", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "SDK 6.3.0 and 7.0.0\r\nAndroid 6.x and 7.x\r\nCLI 7.0.0", "closedSprints": [ { "id": 978, "state": "closed", "name": "2017 Sprint 25 SDK", "startDate": "2017-12-03T23:22:15.144Z", "endDate": "2017-12-17T23:22:00.000Z", "completeDate": "2017-12-18T22:32:02.770Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "442703", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is fixed in 7.0.1", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-10-17T16:13:01.000+0000", "updated": "2018-10-17T16:13:01.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }