{ "id": "103025", "key": "TIMOB-11342", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14165", "description": "2012 Sprint 21 API", "name": "2012 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-25T11:55:29.000+0000", "created": "2012-10-10T02:23:18.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "actionbar", "api", "qe-testadded" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-03T07:28:10.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": "Running the test code in TIMOB-9910 for ActionItems on a 4.0 device, the \"Expand\" item that appears appears partly off-screen, below the action bar.\r\n\r\n(This assumes that all of the manifest voodoo is setup correctly to run using the action bar and associated themes.)\r\n\r\nIn my other testing, adding a menu item with showAsAction set to ALWAYS, I'm getting nothing in the action bar, a menu button displayed in the bottom row (like the legacy menu button), which brings up the menu item in the same place--below the action bar and halfway off screen.\r\n\r\n", "attachment": [ { "id": "32600", "filename": "ThemeThree.zip", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-13T16:17:56.000+0000", "size": 3747551, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: ActionItems do not display correctly", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "223392", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The issue describe above is due to \"targetSdkVersion\" is not correctly set in tiapp.xml. We should always use \"android:targetSdkVersion\", eg.\r\n{code}\r\n\r\n{code}\r\n\r\nAfter fixing the setting issue, we found that in Menu.add() method many properties, eg. showAsAction, icon, are not set correctly. Sent PR https://github.com/appcelerator/titanium_mobile/pull/3208 to fix this.\r\n\r\nFor FR:\r\n1. Run the attached project \"ThemeThree\" on 4.0+ device.\r\n2. Should see a \"KS_nav_ui.png\" icon shown in the action bar.\r\n3. Click the action item. Should see the console log:\r\n{code}\r\nI was clicked\r\n{code}", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-13T16:15:22.000+0000", "updated": "2012-10-13T16:19:21.000+0000" }, { "id": "223708", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master PR : https://github.com/appcelerator/titanium_mobile/pull/3208", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-15T23:46:58.000+0000", "updated": "2012-10-15T23:46:58.000+0000" }, { "id": "223712", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "backport PR: https://github.com/appcelerator/titanium_mobile/pull/3243", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-15T23:55:16.000+0000", "updated": "2012-10-15T23:55:16.000+0000" }, { "id": "224913", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nSDK:3.0.0.v20121024144610\r\nStudio: 3.0.0.201210220122\r\nDevice:HTC Desire V(Android 4.0.3)\r\n\r\nActionItems are displayed correctly", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-25T11:54:29.000+0000", "updated": "2012-10-25T11:54:29.000+0000" }, { "id": "224914", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-25T11:55:02.000+0000", "updated": "2012-10-25T11:55:02.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }