Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20380

Android: Views height / width properties are not respected inside ScrollableView

    Details

    • Story Points:
      5
    • Sprint:
      2017 Sprint 02 SDK, 2017 Sprint 09 SDK

      Description

      When adding Views to a ScrollableView on Android, the views are not rendering inside the ScrollableView properly. This appears to be the result of the height and width parameters not being respected and defaulting to Ti.UI.FILL. As such setting the ScrollableView to have a height of Ti.UI.SIZE does nothing.

      The expectation is that the internal Views would scale based on height and width parameters, and as such the ScrollableView would have a dynamic height based on the Ti.UI.SIZE declaration. In the attached screenshots you can see how this works on iOS (expected result) and on Android (incorrect result)

      Code Example:
      https://gist.github.com/grantges/ffbb0771adf091d15941

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              bgrantges@appcelerator.com Bert Grantges (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-20940
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration