{ "id": "169029", "key": "TIMOB-25049", "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": null, "resolutiondate": null, "created": "2017-07-20T09:11:45.000+0000", "priority": null, "labels": [ "android", "cut", "engReviewed", "image", "imageView", "ios" ], "versions": [ { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" }, { "id": "20432", "name": "Release 8.0.1", "archived": false, "released": true, "releaseDate": "2019-05-15" } ], "issuelinks": [], "assignee": null, "updated": "2019-06-04T21:19:22.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "I have a problem when I tried to create a tableview to show articles with a image that should be full-width and with a fixed height.\r\nI want that the app put the image in full-width and keep the aspect ratio if the height is bigger that the selected height is should cut the image. In iOS is works well but on android the exactly same code produce a different result.\r\n\r\nTo reproduce the issue you can create a default alloy project and past this code:\r\nhttps://pastebin.com/Aef8yihy -> index.xml\r\nhttps://pastebin.com/e7R4Gmqt - index.tss\r\n\r\nIn attachment I put an image with the different results achieved with the same code on iOS and on Android. \r\n", "attachment": [ { "id": "62909", "filename": "imageissueiosandroid.jpg", "author": { "name": "kandalf", "key": "kandalf", "displayName": "Fabio", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-20T09:04:29.000+0000", "size": 38056, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Different behaviour handling images on iOS and Android", "creator": { "name": "kandalf", "key": "kandalf", "displayName": "Fabio", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kandalf", "key": "kandalf", "displayName": "Fabio", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MAC OS 10.12.5 \r\nTi SDK: 6.1.1\r\nAppc Studio: 4.9.0.201705302345", "comment": { "comments": [ { "id": "425188", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I can reproduce the issue for iOS and Android different behavior. Although, Making Image height to \"Ti.UI.FILL\" in index.tss, will make the image covering the full width (The full image shows in the row, covering the full width and height. ) of the row but not the height cut as in iOS. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-08-01T18:15:57.000+0000", "updated": "2017-08-01T18:15:57.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }