{ "id": "105748", "key": "TIMOB-11981", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2012-12-06T19:16:26.000+0000", "created": "2012-11-30T15:27:10.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "triage" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T18:04:58.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": "*Problem description*\r\nTo have a scrollable view inside a scrollable view in android, you have to create a horizontal scroll view to intercept the event. The following code is working in 2.x.x but does not work in 3.x.x (the yellow child scroll view does not scroll).\r\n\r\n*Test case*\r\n{code:title=app.js}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : 'white'\r\n});\r\n\r\nvar sv1 = Ti.UI.createView();\r\nsv1.add(Ti.UI.createLabel({\r\n\ttext : 'scrollable view 1'\r\n}));\r\n\r\nvar sv2 = Ti.UI.createView();\r\nsv2.add(Ti.UI.createLabel({\r\n\ttext : 'scrollable view 2'\r\n}));\r\n\r\nvar sv3 = Ti.UI.createView();\r\nsv3.add(Ti.UI.createLabel({\r\n\ttext : 'scrollable view 1'\r\n}));\r\n\r\nvar sv4 = Ti.UI.createView();\r\nsv4.add(Ti.UI.createLabel({\r\n\ttext : 'scrollable view 2'\r\n}));\r\n\r\nvar scrollableview1 = Ti.UI.createScrollableView({\r\n\tviews : [sv1, sv2]\r\n});\r\n\r\nvar scrollableview2 = Ti.UI.createScrollableView({\r\n\tviews : [sv3, sv4]\r\n});\r\n\r\nvar horzScroll = Ti.UI.createScrollView({\r\n\tcanCancelEvents : false,\r\n\ttop : 0,\r\n\theight : 100,\r\n\tcontentWidth : 'auto',\r\n\tscrollType : 'horizontal',\r\n\tbackgroundColor : 'yellow'\r\n});\r\n\r\nsv1.add(horzScroll);\r\n\r\nhorzScroll.add(scrollableview2);\r\n\r\nwin.add(scrollableview1);\r\n\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: scrollableview in scrollable view does not work in SDK 3.x.x", "creator": { "name": "tlsg", "key": "tlsg", "displayName": "Tommy Leung", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "tlsg", "key": "tlsg", "displayName": "Tommy Leung", "active": true, "timeZone": "America/New_York" }, "environment": "Android all versions\r\nTi SDK 3.0 RC", "comment": { "comments": [ { "id": "229592", "author": { "name": "tlsg", "key": "tlsg", "displayName": "Tommy Leung", "active": true, "timeZone": "America/New_York" }, "body": "A use case for this is to emulate scrollable tabs in Gingerbread.\n\nThe outer scrollable view would be for the tabs and the inner one for displaying data (which could be something like a gallery of scrollable images)", "updateAuthor": { "name": "tlsg", "key": "tlsg", "displayName": "Tommy Leung", "active": true, "timeZone": "America/New_York" }, "created": "2012-12-03T17:15:19.000+0000", "updated": "2012-12-03T17:15:19.000+0000" }, { "id": "230252", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and confirmed regression between 2.1.4 GA and 3.0 RC with Samsung Galaxy S2 2.3.6.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-06T18:53:50.000+0000", "updated": "2012-12-06T18:53:50.000+0000" }, { "id": "230257", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry Tommy, we have discussed this and concluded this is a \"won't fix\" issue. This in fact shouldn't have originally worked in 2.1.X. Cheers.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-06T19:16:26.000+0000", "updated": "2012-12-06T19:16:26.000+0000" }, { "id": "230262", "author": { "name": "tlsg", "key": "tlsg", "displayName": "Tommy Leung", "active": true, "timeZone": "America/New_York" }, "body": "That's fine. But there is no work around? So basically there's no way to have scrollable views in scrollable views. Which means we have to scrap our app or remove the feature? Doesn't seem right to remove a working feature without providing an alternate method.", "updateAuthor": { "name": "tlsg", "key": "tlsg", "displayName": "Tommy Leung", "active": true, "timeZone": "America/New_York" }, "created": "2012-12-06T19:28:19.000+0000", "updated": "2012-12-06T19:28:19.000+0000" }, { "id": "414831", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue will not fix and with reference to the above comments. ", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T18:04:58.000+0000", "updated": "2017-03-22T18:04:58.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }