{ "id": "104302", "key": "TIMOB-11644", "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:05:58.000+0000", "created": "2012-11-02T00:35:50.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:38.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": "There should be a method on the native android action bar to do this already. We need to investigate and see where would be the appropriate place to place this API in Titanium.", "attachment": [], "flagged": false, "summary": "Android: Allow changing background drawable on 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": "226281", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test case:\r\n\r\n1. Set your target sdk version to 14 by adding the entry if your tiapp.xml\"\r\n{code}\r\n \r\n \r\n \r\n \r\n \r\n{code}\r\n\r\n2. Run the following code:\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tfullscreen : true,\r\n\tbackgroundColor : 'black'\r\n});\r\n\r\nwin.addEventListener('open', function() {\r\n\tvar actionBar = win.activity.actionBar;\r\n\tactionBar.setBackgroundImage('KS_nav_ui.png');\r\n});\r\n\r\nwin.open(); \r\n{code}\r\n\r\nExpect result:\r\nYou should see the image as the background for the action bar", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-06T02:18:54.000+0000", "updated": "2012-11-06T19:16:12.000+0000" }, { "id": "243378", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Background image is displayed on the actionBar. 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:25:42.000+0000", "updated": "2013-03-21T10:25:42.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }