| GitHub Issue | n/a |
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2017-10-06T21:08:48.000+0000 |
| Affected Version/s | Release 1.8.0 |
| Fix Version/s | n/a |
| Components | Android |
| Labels | android, api, scrollview, tableview |
| Reporter | Alan Vaghti |
| Assignee | Ingo Muschenetz |
| Created | 2011-08-25T14:49:44.000+0000 |
| Updated | 2017-10-06T21:08:48.000+0000 |
1) Create a new project and replace the app.js with the attached app.js
2) Run the project
Expected Results: TableView and it's values appears and is scrollable.
Actual Results: A blank white screen appears.
Notes:
Tested in 1.7.2 and the issue existed there as well. It works normally on iPhone. The attached screenshot shows a comparison between the Android and iPhone simulators.
Alan, you can define scroll view's height and content height as a temporally workaround. For example, if you define scroll view as:
you'll see the table view items. Anyway, I'm not sure how table view's scroll functionality can be implemented when it is added to the scroll view. Actually, IMHO, I think it shouldn't be scrollable because scroll view is scrollable.var scrollView = Titanium.UI.createScrollView({ top:0, height:'100%', contentHeight:'100%', showVerticalScrollIndicator:true });Android TableView displays fine within a ScrollView in Titanium 6.0.2. In Titanium 6.2.2, we've added nested scrolling support between a ScrollView and a TableView. - https://github.com/appcelerator/titanium_mobile/pull/9402