{ "id": "64181", "key": "TIMOB-3549", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-08-16T01:25:27.000+0000", "created": "2011-04-15T03:46:32.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "inconsistency", "parity", "rplist" ], "versions": [ { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" }, { "id": "13272", "description": "Release 2.0.1", "name": "Release 2.0.1", "archived": true, "released": true, "releaseDate": "2012-04-16" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-16T01:25:27.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": "{html}
On Android, the leftImage resizes the row to fit the dimensions\r\nof the image. But on iOS, the leftImage will resize to fit the row\r\n(so if the row is 20 pixels tall, the image will resize to be 20\r\npixels tall).
\r\nIt would be great if the two platforms behaved the same with\r\nthis property.
\r\nI personally think resizing is better behavior, because it seems\r\nlike a more likely use case to me. I recognize that's highly\r\nsubjective, though, and that there are implications to having\r\nresized images inside a table view row on Android.
\r\nThe following, dropped in an app.js, shows the problem:
\r\n\r\nvar win = Ti.UI.createWindow({ backgroundColor: '#fff' });\r\nwin.add(Ti.UI.createTableView({\r\n data: [\r\n { leftImage: 'appicon.png', title: 'One' },\r\n { leftImage: 'appicon.png', title: 'Two' },\r\n { leftImage: 'appicon.png', title: 'Three' }\r\n ]\r\n}));\r\nwin.open();
\r\n
\r\nTitanium SDK version: 1.6.2 (03/30/11 17:25 0243d42...)
\r\nRESIZES IMAGE on iPhone Simulator 4.2
\r\nRESIZES ROW on Android Samsung Epic 4G 2.2
Hit enter too soon... Tagged as an inconsistency (testing the\nwaters with that) -- it's not really a defect, and it's not a\nfeature. Just something different between the platform\nimplementations.