{ "id": "126370", "key": "TIMOB-16483", "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-02-13T16:41:03.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:03:10.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": "ScrollView is not shown in a ListView.\r\n\r\n\r\n\r\n{code}\r\n\t\t\tvar w = Ti.UI.createWindow({\r\n\t\t\t\tbackgroundColor: \"#fff\",\r\n\t\t\t});\r\n\t\t\t\r\n\t\t\tvar template = {\r\n\t\t\t\tproperties: {\r\n\t\t\t\t\tselectedBackgroundColor: 'blue',\r\n\t\t\t\t\theight: 150,\r\n\t\t\t\t},\r\n\t\t\t\tchildTemplates: [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\ttype: 'Ti.UI.View',\r\n\t\t\t\t\t\tproperties: { backgroundColor: \"#ddd\" },\r\n\t\t\t\t\t\tchildTemplates: [\r\n\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\ttype: 'Ti.UI.ScrollView',\r\n\t\t\t\t\t\t\t\tbindId: 'wrapper',\r\n\t\t\t\t\t\t\t\tproperties: {\r\n\t\t\t\t\t\t\t\t\twidth: Ti.UI.FILL,\r\n\t\t\t\t\t\t\t\t\theight: 100,\r\n\t\t\t\t\t\t\t\t\tscrollType: 'horizontal'\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\tchildTemplates: [\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\ttype: 'Ti.UI.Label',\r\n\t\t\t\t\t\t\t\t\t\tproperties: {\r\n\t\t\t\t\t\t\t\t\t\t\tleft: 150, text: \"Hello World\", height: Ti.UI.FILL\r\n\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\ttype: 'Ti.UI.View',\r\n\t\t\t\t\t\t\t\t\t\tproperties: {\r\n\t\t\t\t\t\t\t\t\t\t\tleft: 0, width: 300, height: Ti.UI.FILL, backgroundColor: 'red'\r\n\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\ttype: 'Ti.UI.View',\r\n\t\t\t\t\t\t\t\t\t\tproperties: {\r\n\t\t\t\t\t\t\t\t\t\t\tleft: 600, width: 300, height: Ti.UI.FILL, backgroundColor: 'green'\r\n\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\ttype: 'Ti.UI.View',\r\n\t\t\t\t\t\t\t\t\t\tproperties: {\r\n\t\t\t\t\t\t\t\t\t\t\tleft: 300, width: 300, height: Ti.UI.FILL, backgroundColor: 'blue'\r\n\t\t\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t]\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t};\r\n\t\t\t\r\n\t\t\tvar listView = Ti.UI.createListView({\r\n\t\t\t\ttemplates: { 'template': template },\r\n\t\t\t\tdefaultItemTemplate: 'template'\r\n\t\t\t});\r\n\t\t\tvar sections = [];\r\n\t\t\t\r\n\t\t\tvar section = Ti.UI.createListSection();\r\n\t\t\tsection.setItems([\r\n\t\t\t\t{ template: 'template' },\r\n\t\t\t\t{ template: 'template' },\r\n\t\t\t\t{ template: 'template' },\r\n\t\t\t\t{ template: 'template' },\r\n\t\t\t\t{ template: 'template' },\r\n\t\t\t\t{ template: 'template' },\r\n\t\t\t]);\r\n\t\t\t\r\n\t\t\tsections.push(section);\r\n\t\t\tlistView.setSections(sections);\r\n\t\t\t\r\n\t\t\tw.add(listView);\r\n\t\t\tw.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: ScrollView inside ListView is ignored (display nothing)", "creator": { "name": "9ruvie", "key": "9ruvie", "displayName": "Jungwook Son", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "9ruvie", "key": "9ruvie", "displayName": "Jungwook Son", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "titanium 3.2.0.GA\r\nandroid 4.X", "comment": { "comments": [ { "id": "293226", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It appears to be a duplicate of TIMOB-15408. Can you please take a look at that ticket and not confirm the same?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-14T18:46:18.000+0000", "updated": "2014-02-18T04:49:12.000+0000" }, { "id": "293494", "author": { "name": "9ruvie", "key": "9ruvie", "displayName": "Jungwook Son", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Though both of issues are related to ScrollView/ScrollableView inside ListView,\nI think it's a different case.\n\n\n1) TIMOB-15408 describes that there are some incorrect behaviors but ScrollableView/ScrollView displays well.\n\n2) This issue is about the displaying problem that ScrollView inside ListView is not shown. It does not appear even.\n\n3) and I guess that ScrollableView is implemented on android's ViewPager, but ScrollView is just using android's ScrollView. Maybe it is possible to have some relationship between ScrollableView and ScrollView implementation.\n\n", "updateAuthor": { "name": "9ruvie", "key": "9ruvie", "displayName": "Jungwook Son", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-18T06:22:24.000+0000", "updated": "2014-02-18T06:22:24.000+0000" }, { "id": "293897", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as I can reproduce this issue with the provided test case on Android platform. Same test works fine on iOS platform.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T05:21:42.000+0000", "updated": "2014-02-20T05:21:42.000+0000" }, { "id": "366132", "author": { "name": "nitrag", "key": "nitrag", "displayName": "Ryan Gartin", "active": true, "timeZone": "America/New_York" }, "body": "We are version 5.0.0.GA. Why is this still Open? Working great on iOS. Thanks", "updateAuthor": { "name": "nitrag", "key": "nitrag", "displayName": "Ryan Gartin", "active": true, "timeZone": "America/New_York" }, "created": "2015-10-07T19:33:01.000+0000", "updated": "2015-10-07T19:33:01.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }