{ "id": "115663", "key": "TIMOB-14199", "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-06-26T20:00:58.000+0000", "created": "2013-06-07T08:52:18.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "ImageView", "Scaling", "android", "defect" ], "versions": [], "issuelinks": [ { "id": "29845", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "116151", "key": "TIMOB-14395", "fields": { "summary": "Android: ImageView scaling not consistent with samples in documentation", "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": "High", "id": "2" }, "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-29T22:12:33.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": "h2. Problem description\r\nImageViews does not scale the image properly on Android, when width is specified and the surrounding view has height=Ti.UI.SIZE, or when put into a TableViewRow\r\nThis works fine on IOS.\r\n\r\nh2. Steps to reproduce\r\n1) Create an empty Alloy project\r\n2) Add the attached image to the assets directory\r\n3) Use the following index.xml and run the app\r\n\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nIn iOS the image is scaled properly.", "attachment": [ { "id": "39570", "filename": "images.jpeg", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2013-06-07T08:52:18.000+0000", "size": 8146, "mimeType": "image/jpeg" }, { "id": "39571", "filename": "index.xml", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2013-06-07T08:52:18.000+0000", "size": 225, "mimeType": "text/xml" } ], "flagged": false, "summary": "Android: ImageView scaling not working", "creator": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "subtasks": [], "reporter": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "environment": "Android 4.2\r\nSDK 3.1.0\r\nSDK 3.1.1", "comment": { "comments": [ { "id": "257580", "author": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "body": "Also tested using left=0 and right=0, same results.", "updateAuthor": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-06-13T09:24:45.000+0000", "updated": "2013-06-13T09:24:45.000+0000" }, { "id": "310947", "author": { "name": "speedyankur@gmail.com", "key": "speedyankur@gmail.com", "displayName": "ankur garha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "What is the solution for this issue now? As I'm still having issues with it", "updateAuthor": { "name": "speedyankur@gmail.com", "key": "speedyankur@gmail.com", "displayName": "ankur garha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-25T18:36:37.000+0000", "updated": "2014-06-25T18:37:26.000+0000" }, { "id": "416288", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate, please refer to TIMOB-14395.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T22:12:33.000+0000", "updated": "2017-03-29T22:12:33.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }