{ "id": "124894", "key": "TIMOB-16212", "fields": { "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": [ { "id": "16092", "description": "2014 Sprint 08", "name": "2014 Sprint 08", "archived": true, "released": true, "releaseDate": "2014-04-24" }, { "id": "16093", "description": "2014 Sprint 08 SDK", "name": "2014 Sprint 08 SDK", "archived": true, "released": true, "releaseDate": "2014-04-24" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-04-25T07:18:10.000+0000", "created": "2014-01-16T22:27:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "actionbar", "module_actionbar", "qe-closed-3.3.0", "qe-testadded", "supportTeam" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "34439", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "107048", "key": "TIMOB-12148", "fields": { "summary": "Android: Action Bar backgroundImage isn't set properly in click event handlers.", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34438", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "106445", "key": "TIMOB-13427", "fields": { "summary": "Android: Expose TabGroup title properly when using the ActionBar", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "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 } } } }, { "id": "34878", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "118800", "key": "TIMOB-15021", "fields": { "summary": "Android: Use new ActionBar compatibility in Android Support Library 18 to enable ActionBar on all Android versions", "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 } } } }, { "id": "34440", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "121615", "key": "TIMOB-15580", "fields": { "summary": "Android: Add sub title property to the ActionBar", "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 } } } }, { "id": "34425", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "123698", "key": "TIMOB-15982", "fields": { "summary": "Android: Integrate v7 of appcompat libraries", "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 } } } }, { "id": "34508", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "118800", "key": "TIMOB-15021", "fields": { "summary": "Android: Use new ActionBar compatibility in Android Support Library 18 to enable ActionBar on all Android versions", "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 } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-04-27T01:22: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": "h3. Request \r\n\r\nExpose the setDisplayShowHomeEnabled and setDisplayShowTitleEnabled methods from the Android actionBar in order to allow the user to disable the action bar icon and title in order to let the navigation tabs to collapse into the main actionBar when user is using a split actionBar and TabGroup(as shown on the right in actionbar.png).\r\n\r\nh3. Current Behavior\r\n\r\nEven whene user is able to split the actionBar the TitleBar will remain always on top of the tabs when using the tabgroup even when there no title or icon(splitActionBar.png).\r\n\r\nh3. Reference\r\n\r\nhttp://developer.android.com/guide/topics/ui/actionbar.html\r\n", "attachment": [ { "id": "45200", "filename": "actionbar.png", "author": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-16T22:27:55.000+0000", "size": 68147, "mimeType": "image/png" }, { "id": "45199", "filename": "splitActionBar.png", "author": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-01-16T22:27:55.000+0000", "size": 145878, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: ActionBar expose setDisplayShowHomeEnabled and setDisplayShowTitleEnabled", "creator": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mcota", "key": "mcota", "displayName": "Marco Cota", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Product: Titanium SDK\r\nTitanium SDK: Mobile 3.2GA\r\nPlatform OS: Android\r\nPlatform OS Version: 2.3.3", "comment": { "comments": [ { "id": "302077", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Test Code: \r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n title : \"Actionbar Title\",\r\n navBarHidden : false,\r\n layout : 'vertical'\r\n});\r\n\r\nvar b3 = Ti.UI.createButton({\r\n title : \"Toggle setDisplayShowHomeEnabled\"\r\n});\r\n\r\nvar b4 = Ti.UI.createButton({\r\n title : \"Toggle setDisplayShowTitleEnabled\"\r\n});\r\n \r\nvar actionBar;\r\n\r\nwin.add(b3);\r\nwin.add(b4);\r\n \r\nvar home = false;\r\nvar title = false;\r\nb3.addEventListener(\"click\", function() {\r\n if (actionBar) {\r\n \tif (home) {\r\n \tactionBar.setDisplayShowHomeEnabled(home);\r\n \thome = false;\r\n } else {\r\n \tactionBar.setDisplayShowHomeEnabled(home);\r\n \thome = true;\r\n }\r\n \r\n } else {\r\n Ti.API.warn(\"Action bar not available.\");\r\n }\r\n});\r\nb4.addEventListener(\"click\", function() {\r\n if (actionBar) {\r\n if (title) {\r\n \tactionBar.setDisplayShowTitleEnabled(title);\r\n \ttitle = false;\r\n } else {\r\n \tactionBar.setDisplayShowTitleEnabled(title);\r\n \ttitle = true;\r\n }\r\n \r\n } else {\r\n Ti.API.warn(\"Action bar not available.\");\r\n }\r\n});\r\n\r\n\r\nwin.addEventListener(\"open\", function() {\r\n if (Ti.Platform.osname === \"android\") {\r\n if (! win.activity) {\r\n Ti.API.error(\"Can't access action bar on a lightweight window.\");\r\n }\r\n actionBar = win.activity.actionBar;\r\n }\r\n});\r\n \r\nwin.open();\r\n{code}", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-22T20:44:07.000+0000", "updated": "2014-04-22T20:44:07.000+0000" }, { "id": "302081", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master PR: https://github.com/appcelerator/titanium_mobile/pull/5640", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-22T21:05:17.000+0000", "updated": "2014-04-22T21:05:17.000+0000" }, { "id": "302303", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-04-23T22:59:08.000+0000", "updated": "2014-04-23T22:59:08.000+0000" }, { "id": "302493", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified as fixed, hence closing the issue\r\n\r\nVerified on:\r\nDevice : Google Nexus 4, Android Version: 4.1.1\r\nSDK: 3.3.0.v20140423155715\r\nCLI version : 3.3.0-dev\r\nOS : MAC OSX 10.9.2\r\nAlloy: 1.4.0-dev\r\nACS: 1.0.14\r\nnpm:1.3.2\r\nAppcelerator Studio, build: 3.3.0.201404211130\r\ntitanium-code-processor: 1.1.1-alpha\r\nXCode : 5.1.1\r\n", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-25T07:16:38.000+0000", "updated": "2014-04-25T07:17:54.000+0000" }, { "id": "302494", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "reopening to edit the comment", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-25T07:17:18.000+0000", "updated": "2014-04-25T07:17:18.000+0000" }, { "id": "302633", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2014-04-27T01:22:35.000+0000", "updated": "2014-04-27T01:22:35.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }