{ "id": "103538", "key": "TIMOB-13331", "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": "2012-10-17T13:58:32.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "27277", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "103537", "key": "TIMOB-13330", "fields": { "summary": "Android: borderRadius on outer view can cause a jpeg to render incorrectly inside", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:03:56.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": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "If there is more than one imageView in a window and both are set to height 100%. Sometimes they will not occupy 100% of their respective parent views.\r\n\r\n*Workarounds:* Use a webview (hit on performance)\r\n\r\n*Reproducibility:* 9 / 10 (its either one or the other or both not occupying 100% height)\r\n\r\n*Annoyability:* 10 / 10\r\n\r\n*Test Code:* \r\n{code:javascript}\r\nvar win = Titanium.UI.createWindow({\r\n\ttitle : 'Tab 1',\r\n\tbackgroundColor : 'green'\r\n});\r\n\r\n//Either one of these boxes will not render correctly\r\nvar topbox = Ti.UI.createView({\r\n\t/* left & right work too */\r\n\ttop : '1%',\r\n\theight : '32%',\r\n\twidth : '100%',\r\n\tbackgroundColor : 'black'\r\n});\r\n\r\nvar topimage = Ti.UI.createImageView({\r\n\timage : 'http://beaver6813.com/dev/jira/codestrong-2.jpg',\r\n\twidth : '100%',\r\n\theight : '100%',\r\n\ttop : 0,\r\n\tleft : 0\r\n});\r\n\r\nvar botbox = Ti.UI.createView({\r\n\t/* left & right work too */\r\n\tbottom : '1%',\r\n\theight : '32%',\r\n\twidth : '100%',\r\n\tbackgroundColor : 'black'\r\n});\r\n\r\nvar botimage = Ti.UI.createImageView({\r\n\timage : 'http://beaver6813.com/dev/jira/codestrong-2.jpg',\r\n\twidth : '100%',\r\n\theight : '100%',\r\n\ttop : 0,\r\n\tleft : 0\r\n});\r\n\r\nbotbox.add(botimage);\r\nwin.add(botbox);\r\ntopbox.add(topimage);\r\nwin.add(topbox);\r\n\r\nwin.open();\r\n{code}", "attachment": [ { "id": "32718", "filename": "device-2012-10-17-145817.png", "author": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "created": "2012-10-17T13:58:32.000+0000", "size": 401916, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Sometimes imageView doesn't occupy all of parent view when there is more than one imageView in the window", "creator": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "scleaver", "key": "scleaver", "displayName": "Sam Cleaver", "active": true, "timeZone": "Europe/London" }, "environment": "SDK 3.0.2 GA / Latest TiStudio\r\nAndroid 4.0.4", "comment": { "comments": [ { "id": "245338", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reproduced with Ti SDK 3.0.2 GA, Samsung Galaxy S3 Android 4.0.4\n\nBug doesn't occur with Samsung Galaxy S2 Android 2.3.6, so it's a device-specific issue.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-02T23:22:12.000+0000", "updated": "2013-04-02T23:22:12.000+0000" }, { "id": "248597", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2\n\nAndroid Emulator: Android SDK version: 2.2 ", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-22T09:37:37.000+0000", "updated": "2013-04-22T09:37:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }