{ "id": "134460", "key": "TIMOB-17481", "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": "2014-08-10T13:28:50.000+0000", "priority": null, "labels": [ "alloy", "headerview", "ios", "listview" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-04-18T16:25:09.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": "On iOS, the height of the HeaderView of a ListView cannot be higher than the screen size. As a result, long views cannot be displayed entirely.\r\n\r\n{code:xml}\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\t\t\r\n\t\t\t\r\n\t\t\t\r\n \r\n \r\n \r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nThe HeaderView is not entirely displayed. On Android, the entire HeaderView is displayed. See attached screenshots.", "attachment": [ { "id": "50357", "filename": "android_headerView_bottom.png", "author": { "name": "FrancoisM", "key": "francoism", "displayName": "François Mériaux", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-10T13:28:50.000+0000", "size": 60391, "mimeType": "image/png" }, { "id": "50358", "filename": "android_headerView_top.png", "author": { "name": "FrancoisM", "key": "francoism", "displayName": "François Mériaux", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-10T13:28:50.000+0000", "size": 54808, "mimeType": "image/png" }, { "id": "50355", "filename": "iOS_headerView_bottom.PNG", "author": { "name": "FrancoisM", "key": "francoism", "displayName": "François Mériaux", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-10T13:28:50.000+0000", "size": 25947, "mimeType": "image/png" }, { "id": "50356", "filename": "iOS_headerView_top.PNG", "author": { "name": "FrancoisM", "key": "francoism", "displayName": "François Mériaux", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-10T13:28:50.000+0000", "size": 20836, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: HeaderView of a ListView cannot be higher than screen size", "creator": { "name": "FrancoisM", "key": "francoism", "displayName": "François Mériaux", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "FrancoisM", "key": "francoism", "displayName": "François Mériaux", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK 3.3.0 G.A., Alloy 1.4.0, iOS 7.1.2, iPhone 5", "comment": { "comments": [ { "id": "317900", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "I can reproduce this problem with Iphone 4, SDK 3.3.0.GA.\r\nAnd not just happen in Alloy, but also in normal project.\r\n\r\nHere is the test case for normal project.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: 'white'\r\n});\r\n\r\nvar header = Ti.UI.createView({\r\n\theight: \"1000dp\",\r\n\tbackgroundColor : \"blue\",\r\n});\r\n\r\nvar label = Ti.UI.createLabel({\r\n\ttext : \"Hello world\",\r\n\tbackgroundColor : \"white\"\r\n});\r\n\r\nheader.add(label);\r\n\r\n\r\nvar listView = Ti.UI.createListView({\r\n\theaderView: header,\r\n});\r\n\r\nvar sections = [];\r\n\r\nvar numSection = Ti.UI.createListSection();\r\nvar numDataSet = [\r\n {properties: { title: 'Num 1'}},\r\n {properties: { title: 'Num 2'}},\r\n];\r\nnumSection.setItems(numDataSet);\r\nsections.push(numSection);\r\n\r\nlistView.sections = sections;\r\nwin.add(listView);\r\nwin.open();\r\n{code}\r\n", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-08-11T04:41:46.000+0000", "updated": "2014-08-11T04:41:46.000+0000" }, { "id": "364680", "author": { "name": "iRonin", "key": "ironin", "displayName": "Cyprian Kowalczyk", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It occurs on the latest SDK as well.", "updateAuthor": { "name": "iRonin", "key": "ironin", "displayName": "Cyprian Kowalczyk", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-22T18:31:44.000+0000", "updated": "2015-09-22T18:31:44.000+0000" }, { "id": "436976", "author": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "body": "Same for 7.1.0", "updateAuthor": { "name": "s.volkov", "key": "s.volkov", "displayName": "Sergey Volkov", "active": true, "timeZone": "Europe/Moscow" }, "created": "2018-04-18T16:25:09.000+0000", "updated": "2018-04-18T16:25:09.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }