Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20388] Android: Scrollable view height issue in android

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionDuplicate
Resolution Date2017-12-23T02:29:39.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid
ReporterHarish Mridha
AssigneeEric Merriman
Created2016-02-10T17:35:40.000+0000
Updated2017-12-23T02:29:39.000+0000

Description

I have one ScrollableView. Inside this I have one view whose width is 90% height is Ti.UI.SIZE. Scrollable view height is also set to Ti.UI.SIZE. Now issue is underlaying view's width and height is taking the entire screen. But if I explicitly assign a height say 100dip to ScrollableView then there is no issue. But I can't set height as the content of the view is not fixed. This is happening only in Android. I tested in android 5.0.0. In iOS it is working as expected. We have project road blocks due to this. So can you please help us on this.

Attachments

FileDateSize
sampleScrollable_Android_Issue.zip2016-02-10T17:34:49.000+00001860840

Comments

  1. Iain Kettles 2016-04-20

    Are you ever going to get this fixed? It's really ridiculous you can't fix one of the most essential layout properties for a ScrollableView.. Can't even use it in an application as it currently is!
  2. Jose Enrique 2016-06-30

    I have the same problem, in IOS work as expected but in Andorid with SDK 5.2.2.GA is still the bug and I have to set a specific height.
  3. Joshua Quick 2017-12-23

    The fix for [TIMOB-16878] will resolve this issue. Closing as duplicate.

JSON Source