{ "id": "104304", "key": "TIMOB-11646", "fields": { "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true }, "parent": { "id": "104048", "key": "TIMOB-11601", "fields": { "summary": "Android: Expose ActionBar methods", "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": "High", "id": "2" }, "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": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-13T22:06:18.000+0000", "created": "2012-11-02T00:38:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "actionbar", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:35.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": "We could possibly tie this in with the navbarhidden property on windows.", "attachment": [], "flagged": false, "summary": "Android: Allow 'show' and 'hide' functionality of the action bar", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "226336", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Specifying navbarhidden already hides the action bar, so no work needs to be done here. Will add a hide/show method on the action bar proxy itself instead.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-06T19:19:50.000+0000", "updated": "2012-11-06T19:19:50.000+0000" }, { "id": "226348", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case:\n\n1. Set your target sdk version to 14 by adding the entry if your tiapp.xml\"\n{code}\n \n \n \n \n \n{code}\n\n2. Run the following code:\n{code}\nvar win = Ti.UI.createWindow({\n\tfullscreen : true,\n\tbackgroundColor : 'black',\n\tlayout: 'vertical'\n});\n\nvar show = Ti.UI.createButton({\n\ttitle: 'show'\n});\n\nvar hide = Ti.UI.createButton({\n\ttitle: 'hide'\n});\n\nshow.addEventListener('click', function() {\n\tvar actionBar = win.activity.actionBar;\n\tactionBar.show();\n})\n\nhide.addEventListener('click', function() {\n\tvar actionBar = win.activity.actionBar;\n\tactionBar.hide();\n});\n\nwin.add(show);\nwin.add(hide);\n\nwin.open(); \n{code}\n3. Click on the hide button\n4. Click on the show button\n\nExpect result:\nYou should see the action bar hide and show accordingly when you push the two buttons.", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-06T21:04:36.000+0000", "updated": "2012-11-06T21:04:36.000+0000" }, { "id": "243380", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Hide and Show properties of actionBar is working fine as expected. Hence closing it.\r\n\r\nVerified on:\r\nDevice : Google Nexus 7, Android Version: 4.1\r\nSDK version: 3.1.0.v20130320190115 \r\nCLI version : 3.0.24\r\nOS : MAC OSX 10.7.5\r\nXCode : 4.5.1\r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-03-21T10:30:01.000+0000", "updated": "2013-03-21T10:30:01.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }