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

Android: Height Ti.UI.FILL inside ScrollView should match iOS

    Details

    • Story Points:
      3
    • Sprint:
      2017 Sprint 20 SDK, 2017 Sprint 21 SDK

      Description

      A View with height Ti.UI.FILL inside a ScrollView, ListView or TableView should match iOS behavior (essentially acting like height: '100%')

      TEST CASE

      var win = Ti.UI.createWindow({
              backgroundColor: 'white'
          }),
          scrollView = Ti.UI.createScrollView({
              layout: 'vertical'
          }),
          field = Ti.UI.createTextField({
              hintText: 'TEST',
              hintTextColor: 'grey',
              top: '250dp',
              left: '10%', right: '10%',
              backgroundColor: 'transparent',
              width: Titanium.UI.FILL
          }),
          view = Ti.UI.createView({
              width: Ti.UI.FILL,
              height: Ti.UI.FILL,
              backgroundColor: 'blue'
          });
       
      scrollView.add([field, view]);
       
      win.add(scrollView);
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              gmathews Gary Mathews
              Reviewer:
              Gary Mathews
              Tester:
              Lokesh Choudhary
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code