{ "id": "84205", "key": "TIMOB-6846", "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": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-05-18T15:31:19.000+0000", "created": "2011-12-22T11:26:18.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_tableviewrow", "parity", "qe-testadded" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-08-10T15:52:18.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\nWith the same code, you will see a different padding in tableviewrows, even if you set the height to 'auto'. Customer would like to get parity with iOS here.\r\n\r\nh4. STEPS TO REPRODUCE\r\n1. Create a new mobile project\r\n2. Paste the code above into app.js\r\n3. Compile to Android\r\n\r\nh4. ACTUAL RESULTS\r\nThe row is showing a padding in the bottom, that is not appearing in iOS.\r\n\r\nh4. CODE\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\ttitle:'testing labels',\r\n});\r\n\r\nvar row=Ti.UI.createTableViewRow({ \r\n\tlayout:'vertical', \r\n\theight:'auto' \r\n}); \r\nvar firstLabel= Ti.UI.createLabel({\r\n\ttop:10, \r\n\tleft:15, \r\n\tright:15, \r\n\theight:'auto', \r\n\tcolor:'#363636', \r\n\ttext:'This is First Label in the Row' }); \r\nvar secondLabel= Ti.UI.createLabel({ \r\n\ttop:10, \r\n\tleft:15, \r\n\tright:15, \r\n\theight:'auto', \r\n\tcolor:'#363636', \r\n\ttext:'This is Second Label in the Row' }); \r\nrow.add(firstLabel); \r\nrow.add(secondLabel);\r\nvar data = [];\r\ndata[0]=row;\r\nvar table=Ti.UI.createTableView({\r\n\tdata:data,\r\n});\r\nwin.add(table);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "24833", "filename": "Screen shot 2011-12-22 at 11.22.08 AM.png", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2011-12-22T11:37:32.000+0000", "size": 65330, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Bottom Padding in TableViewRow is bigger in Android", "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": null, "comment": { "comments": [ { "id": "177119", "author": { "name": "sridhardavuluri", "key": "sridhardavuluri", "displayName": "Sridhar D", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Could you please mark Priority as High, as our project is ready for Production.", "updateAuthor": { "name": "sridhardavuluri", "key": "sridhardavuluri", "displayName": "Sridhar D", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-23T08:11:52.000+0000", "updated": "2011-12-23T08:11:52.000+0000" }, { "id": "178452", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This change will affect many other existing applications so we need to be careful with this change. We should not try to do it in a patch release.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-07T13:58:26.000+0000", "updated": "2012-01-07T13:58:26.000+0000" }, { "id": "195350", "author": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "body": "Tested with 2.0.1GA2 on a Samsung Galaxy S2 and iOS simulator. Unable to reproduce the issue. Ticket closed.", "updateAuthor": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-18T15:31:19.000+0000", "updated": "2012-05-18T15:31:19.000+0000" }, { "id": "211363", "author": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Working fine now.Verified it with the following specifications\r\nTested with Titanium SDK: 2.1.1.v20120716180600\r\nTested with Titanium  Studio: 2.1.1.201207161421\r\nDevice - Samsung Galaxy Nexus Android 4.0.2\r\nMachine OS - MAC 10.7.3\r\n", "updateAuthor": { "name": "sbhadauria", "key": "sbhadauria", "displayName": "Shyam Bhadauria", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-03T02:07:29.000+0000", "updated": "2012-08-03T02:07:29.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }