{ "id": "169926", "key": "TIMOB-25356", "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": "2017-09-29T14:27:24.000+0000", "created": "2017-09-28T10:57:54.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "bug", "listview" ], "versions": [ { "id": "19542", "description": "", "name": "Release 6.2.2", "archived": false, "released": true, "releaseDate": "2017-09-19" } ], "issuelinks": [ { "id": "56010", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "169738", "key": "TIMOB-25258", "fields": { "summary": "Android: TableView bottom border extends past the last table row", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-09-29T14:27: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": "When using SDK 6.2.0GA, 6.2.1.GA or 6.2.2GA on Android, a ListView will not behave as expected when setting height to Ti.UI.SIZE.\r\n\r\nIf I use SDK 6.1.2GA it will resize as expected.\r\n\r\nSee images attached and code below.\r\n\r\nview.xml:\r\n{code:javascript}\r\n\r\n\t\t\t\t\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\t\t\t\t\t\t\t\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\t\t\t\t\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n{code}\r\n\r\ntss:\r\n\r\n{code:css}\r\n'CardView': {\r\n\twidth: Ti.UI.FILL,\r\n\theight: Ti.UI.SIZE,\r\n\tleft: \"10dp\",\r\n\tright: \"10dp\",\r\n\tcontentPadding: 40,\r\n\tcardCornerRadius: 20,\r\n\tcardUseCompatPadding: true,\r\n\tbackgroundColor: \"#fafafa\"\r\n}\r\n\".smallText\" :{\r\n\tleft: \"16dp\",\r\n\tfont: {\r\n\t\tfontSize: \"14sp\"\r\n\t}\r\n}\r\n\r\n\".titleLabel\" : {\r\n\tcolor: \"#212121\"\r\n}\r\n\r\n\".subtitleLabel\" : {\r\n\tcolor: \"#757575\"\r\n}\r\n\r\n\"#locationsCard\" : {\r\n\ttop: \"10dp\",\r\n\tbottom: \"10dp\",\r\n\tlayout: 'vertical',\r\n\theight: Ti.UI.SIZE\r\n}\r\n\r\n\"#locationsList\" : {\r\n\ttop: \"16dp\",\r\n\tleft: \"16dp\",\r\n\tright: \"16dp\",\r\n\tbottom: \"16dp\",\r\n\tcanScroll: false,\r\n\tshowVerticalScrollIndicator: false,\r\n\theight: Ti.UI.SIZE\r\n}\r\n\r\n\".itemView\" : {\r\n\ttop: \"8dp\",\r\n\tbottom: \"8dp\",\r\n\tlayout: 'horizontal',\r\n\theight: Ti.UI.SIZE,\r\n\tbackgroundColor: \"#fafafa\", \r\n\ttouchFeedback: true,\r\n\ttouchFeedbackColor: \"#808080\"\r\n}\r\n\r\n\".icons\" : {\r\n\twidth: \"24dp\",\r\n\theight: \"24dp\"\r\n}\r\n\r\n\".locationView\" : {\r\n\tlayout: 'vertical',\r\n\theight: Ti.UI.SIZE,\r\n\twidth: Ti.UI.FILL\r\n}\r\n\r\n\".separator\" : {\r\n\tbottom: \"0\",\r\n\theight: \"1\",\r\n\twidth: Ti.UI.FILL,\r\n\tleft: \"40dp\",\r\n\tright: 0,\r\n\tbackgroundColor: \"#d3d3d3\",\r\n}\r\n\r\n\"#selectCard\" : {\r\n\ttop: \"10dp\",\r\n\tbottom: \"10dp\",\r\n\theight: \"48dp\",\r\n\tlayout: 'horizontal',\r\n\tbackgroundColor: '#fafafa'\r\n}\r\n{code}\r\n", "attachment": [ { "id": "63372", "filename": "SDK 6.1.2GA correct.png", "author": { "name": "gfigueras", "key": "gfigueras", "displayName": "Guillermo Figueras", "active": true, "timeZone": "Europe/Madrid" }, "created": "2017-09-28T10:46:35.000+0000", "size": 61795, "mimeType": "image/png" }, { "id": "63371", "filename": "SDK 6.2.2GA wrong.png", "author": { "name": "gfigueras", "key": "gfigueras", "displayName": "Guillermo Figueras", "active": true, "timeZone": "Europe/Madrid" }, "created": "2017-09-28T10:46:35.000+0000", "size": 57003, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Ti.UI.SIZE height not working for ListView (SDK 6.2.X)", "creator": { "name": "gfigueras", "key": "gfigueras", "displayName": "Guillermo Figueras", "active": true, "timeZone": "Europe/Madrid" }, "subtasks": [], "reporter": { "name": "gfigueras", "key": "gfigueras", "displayName": "Guillermo Figueras", "active": true, "timeZone": "Europe/Madrid" }, "environment": "SDK 6.2.0 GA, 6.2.1GA, 6.2.2GA", "closedSprints": [ { "id": 951, "state": "closed", "name": "2017 Sprint 20 SDK", "startDate": "2017-09-24T17:50:18.277Z", "endDate": "2017-10-08T17:50:00.000Z", "completeDate": "2017-10-09T20:38:07.840Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "428585", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for reporting this. This is already a known issue.\r\nSee [TIMOB-25258], which already has a pending fix awaiting a review.\r\nThis fix is scheduled to be added to 6.3.0.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-09-28T21:31:00.000+0000", "updated": "2017-09-28T21:31:00.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }