{ "id": "144815", "key": "AC-1095", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2015-03-20T22:07:54.000+0000", "created": "2015-02-16T12:44:08.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "updated": "2016-03-08T07:37:26.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Menu icons not appearing when using them from the platform->android\r\n-->res-->drawable folder.\r\n\r\nactivity.onCreateOptionsMenu = function(e) {\r\n\t\t\tvar menu = e.menu;\r\n\t\t\tvar Search = menu.add({\r\n\t\t\t\ttitle : 'Search',\r\n\t\t\t\tactionView : searchView,\r\n\t\t\t\ticon : Ti.Android.R.drawable.ic_action_search,\r\n\t\t\t\tshowAsAction : Ti.Android.SHOW_AS_ACTION_ALWAYS | Ti.Android.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW\r\n\t\t\t});\r\n\t\t\tvar Menu = menu.add({\r\n\t\t\t\ttitle : \"Menu\",\r\n\t\t\t\ticon : Ti.Android.R.drawable.ic_action_menu,\r\n\t\t\t\tshowAsAction : Ti.Android.SHOW_AS_ACTION_ALWAYS,\r\n\t\t\t\titemId : 1,\r\n\t\t\t\torder : 1\r\n\t\t\t});", "attachment": [ { "id": "54150", "filename": "Screen Shot 2015-02-16 at 6.07.10 PM.png", "author": { "name": "hardik_amal2007", "key": "hardik_amal2007", "displayName": "Hardik Amal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-02-16T12:44:08.000+0000", "size": 108352, "mimeType": "image/png" } ], "flagged": false, "summary": "Menu icons not visible in android", "creator": { "name": "hardik_amal2007", "key": "hardik_amal2007", "displayName": "Hardik Amal", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "hardik_amal2007", "key": "hardik_amal2007", "displayName": "Hardik Amal", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "Mac OS,Titanium studio", "comment": { "comments": [ { "id": "346473", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~hardik_amal2007] can you please add more info to the ticket?\r\n- Titanium SDK version\r\n- Mobile OS Version\r\n- Device details\r\n- Test case\r\n- Steps to reproduce the issue\r\n", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-03-18T23:46:10.000+0000", "updated": "2015-03-18T23:46:10.000+0000" }, { "id": "346511", "author": { "name": "hardik_amal2007", "key": "hardik_amal2007", "displayName": "Hardik Amal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Solved... i was writing Ti.Android.R.drawable.ic_action_search instead of Ti.App.Android.R.drawable.ic_action_search...you can close it", "updateAuthor": { "name": "hardik_amal2007", "key": "hardik_amal2007", "displayName": "Hardik Amal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2015-03-19T07:40:17.000+0000", "updated": "2015-03-19T07:40:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }