{ "id": "111130", "key": "TIMOB-13044", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-03-18T17:35:29.000+0000", "created": "2013-03-13T05:30:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [ { "id": "26772", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "109854", "key": "TIMOB-12782", "fields": { "summary": "Android: OptionDialog gets displayed too large when anyDensity is set to false", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T18:51:09.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": "h4. Problem Description\r\nWhen using a custom AndroidManifest.xml (included here), the picker in Samsung S3 looks wrong (image attached).\r\n\r\nh4. Steps to reproduce.\r\n1. Create a new app.\r\n2. Paste this to app.js:\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nwin.backgroundColor = 'black';\r\n\r\nvar picker = Ti.UI.createPicker();\r\n\r\nvar data = [];\r\ndata[0] = Ti.UI.createPickerRow({\r\n\ttitle : 'Bananas',\r\n\tcustom_item : 'b'\r\n});\r\ndata[1] = Ti.UI.createPickerRow({\r\n\ttitle : 'Strawberries',\r\n\tcustom_item : 's'\r\n});\r\ndata[2] = Ti.UI.createPickerRow({\r\n\ttitle : 'Mangos',\r\n\tcustom_item : 'm'\r\n});\r\ndata[3] = Ti.UI.createPickerRow({\r\n\ttitle : 'Grapes',\r\n\tcustom_item : 'g'\r\n});\r\n\r\n// turn on the selection indicator (off by default)\r\npicker.selectionIndicator = true;\r\n\r\npicker.add(data);\r\n\r\nwin.add(picker);\r\n\r\npicker.setSelectedRow(0, 1, true);\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext : 'Make a move',\r\n\ttop : 6,\r\n\twidth : 'auto',\r\n\theight : 'auto',\r\n\ttextAlign : 'center',\r\n\tcolor : 'white'\r\n});\r\nwin.add(label);\r\n\r\nvar button = Ti.UI.createButton({\r\n\ttitle : 'Set to Grapes',\r\n\ttop : 34,\r\n\twidth : 120,\r\n\theight : 30\r\n});\r\nwin.add(button);\r\n\r\nbutton.addEventListener('click', function() {\r\n\t// column, row, animated (optional)\r\n\tpicker.setSelectedRow(0, 3, true);\r\n});\r\n\r\npicker.addEventListener('change', function(e) {\r\n\tTi.API.info(\"You selected row: \" + e.row + \", column: \" + e.column + \", custom_item: \" + e.row.custom_item);\r\n\tlabel.text = \"row index: \" + e.rowIndex + \", column index: \" + e.columnIndex;\r\n});\r\n\r\npicker.setSelectedRow(0, 1, false);\r\n\r\nwin.open();\r\n{code} \r\n3. Add this custom AndroidManifest.xml\r\n{code}\r\n\r\n\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\t\r\n\r\n{code}\r\n4. Run this in Samsung S3\r\n\r\n\r\n", "attachment": [ { "id": "36255", "filename": "s3.png", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-03-13T05:30:33.000+0000", "size": 86647, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Custom AndroidManifest is messing with picker in Samsung S3", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "MobileSDK: 3.0.2\r\nDevice: Samsung S3", "comment": { "comments": [ { "id": "242691", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of linked issue.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-18T17:35:29.000+0000", "updated": "2013-03-18T17:35:29.000+0000" }, { "id": "414318", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T18:51:09.000+0000", "updated": "2017-03-21T18:51:09.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }