{ "id": "104306", "key": "TIMOB-11648", "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:44.000+0000", "created": "2012-11-02T00:41:31.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:42:39.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 setIcon or setLogo method on the native android action bar. We should be able to map these accordingly.", "attachment": [], "flagged": false, "summary": "Android: Allow changing the app icon/ app logo 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": "226384", "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 fullscreen : true,\r\n backgroundColor : 'black'\r\n});\r\n \r\nwin.addEventListener('open', function() {\r\n var actionBar = win.activity.actionBar;\r\n actionBar.setLogo('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 logo for the action bar\r\n\r\nNOTE: This needs to be tested on a device with ICS and above", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-06T22:15:29.000+0000", "updated": "2012-11-06T22:16:02.000+0000" }, { "id": "243381", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "setLogo functionality sets the app icon on the actionBar 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:32:06.000+0000", "updated": "2013-03-21T10:32:06.000+0000" }, { "id": "244751", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "This item should not be considered complete before adding functionality to switch between icon and logo display on the action bar.\r\n[This API should be exposed|http://developer.android.com/reference/android/app/ActionBar.html#setDisplayUseLogoEnabled(boolean)]", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-03-30T07:36:33.000+0000", "updated": "2013-03-30T07:36:33.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }