{ "id": "129719", "key": "TIMOB-16888", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [ { "id": "16270", "description": "2014 Sprint 10", "name": "2014 Sprint 10", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "16271", "description": "2014 Sprint 10 SDK", "name": "2014 Sprint 10 SDK", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" }, { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-21T20:04:12.000+0000", "created": "2014-04-26T18:18:56.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_actionbar", "qe-testadded" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-05-23T23:21: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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "The home button is automatically enabled when the DISPLAY_HOME_AS_UP is enabled (natively by Android). However, the home button cannot be disabled later unless this method is exposed - thus its necessity.", "attachment": [], "flagged": false, "summary": "Android: Add Actionbar.setHomeButtonEnabled functionality", "creator": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "subtasks": [], "reporter": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "environment": "Android SDK 3.3.0", "comment": { "comments": [ { "id": "302632", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Pull request adding this functionality: https://github.com/appcelerator/titanium_mobile/pull/5649\r\nTest app:\r\n{code}\r\nvar win = Ti.UI.createWindow({});\r\nvar actionBar, homeButtonEnabled = true;;\r\n\r\nvar btn = Ti.UI.createButton({\r\n\ttitle: 'Toggle homeButtonEnabled',\r\n\twidth: \"90%\",\r\n\theight: \"50dp\"\r\n});\r\nbtn.addEventListener('click', function() {\r\n\thomeButtonEnabled = !homeButtonEnabled;\r\n\tactionBar.setHomeButtonEnabled(homeButtonEnabled);\r\n});\r\nwin.add(btn);\r\n\r\nwin.addEventListener(\"open\", function() {\r\n if (Ti.Platform.osname === \"android\") {\r\n actionBar = win.activity.actionBar;\r\n if (actionBar) {\r\n actionBar.title = \"New Title\";\r\n actionBar.onHomeIconItemSelected = function() {\r\n alert(\"Home icon clicked!\");\r\n };\r\n }\r\n }\r\n});\r\n\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-04-26T20:24:41.000+0000", "updated": "2014-04-26T20:24:41.000+0000" }, { "id": "302660", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this feature request to engineering for further evaluation and prioritization. Note that TIMOB-16212 is similar but not same.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-28T05:10:24.000+0000", "updated": "2014-04-28T05:10:24.000+0000" }, { "id": "304942", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Guys, this is a very small PR and can be easily reviewed, exposes yet more ActionBar functionality, and I can assure you it is working in my app in production. Please review and accept. Thanks.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-05-15T07:03:15.000+0000", "updated": "2014-05-15T07:03:15.000+0000" }, { "id": "305963", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR's merged\r\nmaster - https://github.com/appcelerator/titanium_mobile/pull/5716\r\n3_3_X - https://github.com/appcelerator/titanium_mobile/pull/5717", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-21T20:04:12.000+0000", "updated": "2014-05-21T20:04:12.000+0000" }, { "id": "306359", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified , the Actionbar.setHomeButtonEnabled functionality works as expected.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.3.0.201405211748\r\nTi SDK : 3.3.0.v20140523143057\r\nMac OSX : 10.8.5\r\nAlloy : 1.4.0-alpha4\r\nCLI - 3.3.0-alpha5\r\nCode Processor: 1.1.1\r\nSamsung Galaxy S4 running android 4.2.2\r\nSony Xperia - android 2.3.7", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T23:21:26.000+0000", "updated": "2014-05-23T23:21:26.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }