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

Android: ListView UI changed in respect to width of row and border line missing in 3.2 SDK

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.0
    • Fix Version/s: Release 3.2.0
    • Component/s: Android
    • Environment:

      OSX: 10.8.5
      Appcelerator Studio: 3.2.0.201311200357
      SDK: 3.2.0.v20131121163252
      acs:1.0.7
      alloy:1.3.0
      npm:1.3.2
      titanium:3.2.0-alpha
      titanium-code-processo:1.1.0-alpha
      Device: Nexus 7 (v4.3)

      Description

      In SDK: 3.2.0.v20131121163252 the height of a row in listView has increased to a large extent as compared to SDK:3.1.3.GA

      Steps to reproduce:
      1. Run the code using SDK:3.1.3.GA and SDK: 3.2.0.v20131121163252

      Actual: UI has changed in respect to width of row
      Expected : UI must remain same and width must be as expected

      var win = Ti.UI.createWindow({
          backgroundColor : "#FFF"
      })
      var section = Ti.UI.createListSection();
      var table = Ti.UI.createListView({
          sections : [section],
          top : 48
      });
      win.add(table);
      var items = [];
      for (var i = 0; i < 10; i++) {
          items.push({
              properties : {
                  title : "Test " + i
              }
          });
      }
      section.setItems(items);
       
      var button = Ti.UI.createButton({
          text : "Test",
          width : 100,
          height : 44,
          bottom : 0
      });
      win.add(button);
       
      button.addEventListener("click", function() {
          Ti.API.info("Table Top Value Before Set: " + table.top);
          table.top = 0;
          Ti.API.info("Table Top Value After Set: " + table.top);
      });
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              prastogi Pragya Rastogi
              Reviewer:
              Pedro Enrique (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration