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

Android: List disclosure indicators increases size from SDK 5.5.1.GA to SDK 6.1.1.v20170615113917

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      MacOS: 10.12.5
      Titanium SDK: 6.1.1 RC

    • Sprint:
      2017 Sprint 17 SDK

      Description

      List disclosure indicators an Android display far too large when using Titanium SDK 6.1.1.v20170615113917. The indicators are probably around twice the size they used to display when using SDK 5.5.1.GA.

      The attached image shows a screenshot of the bug in a test app using Titanium SDK 6.1.1.v20170615113917

      I've taken some example code from the Appcelerator docs and simplified it slightly to show how to reproduce the issue. The Titanium SDK used to test this was 6.1.1.v20170615113917. It is also a bug in Titanium SDK 6.1.0.GA. It is not a bug in Titanium SDK 5.5.1.GA.

      var win = Ti.UI.createWindow({backgroundColor: 'white'});
      var listView = Ti.UI.createListView();
       
      var tasks = [
          {id: 'trash', name: 'Take Out the Trash'},
          {id: 'dishes', name: 'Do the Dishes'},
          {id: 'doggie', name: 'Walk the Dog'}
      ];
       
      var data = [];
      for (var i = 0; i < tasks.length; i++) {
          data.push({ 
              properties: {
                  itemId: tasks[i].id,
                  title: tasks[i].name,
                  accessoryType: Ti.UI.LIST_ACCESSORY_TYPE_DISCLOSURE,
                  color: 'black'
              }
          });
      }
       
      var section = Ti.UI.createListSection();
      section.setItems(data);
      listView.sections = [section];
       
      win.add(listView);
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jmountford Julian Mountford
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code