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

Android: Undesired tableView separatorColor is appearing in footerView

    Details

    • Sprint:
      2014 Sprint 09 Tooling

      Description

      Problem Description

      Undesired tableView separatorColor is appearing in footerView .

      When I use footerView for TableViews it is working as expected in below Android 4.4 versions.

      But from Above Android 4.4 version we are able to see a separator line which is not required.

      Testing Environment:

      MAC OS X 10.8.5
      Appcelerator Studio, build: 3.2.1.201402061120
      Titanium SDK: 3.2.1.GA
      Titanium CLI: 3.2.1
      Android SDK 2.3.3, 4.2.2 and 4.4.2

      Test Code

      var win = Ti.UI.createWindow({
          backgroundColor : 'black',
          fullscreen : false,
          title : 'TableView Demo'
      });
       
      var defaultFontSize = Ti.Platform.name === 'android' ? 16 : 14;
       
      var tableData = [];
       
      for (var i = 1; i <= 5; i++) {
          var row = Ti.UI.createTableViewRow({
              className : 'forumEvent', // used to improve table performance
              selectedBackgroundColor : 'white',
              rowIndex : i, // custom property, useful for determining the row during events
              height : 110,
              title : 'Test '+i
          });
          tableData.push(row);
      }
       
      var container = Ti.UI.createView({
          height : 50,
          width : Ti.UI.FILL
      });
       
      var tableView = Ti.UI.createTableView({
          backgroundColor : 'white',
          data : tableData,
          footerView : container,
          separatorColor : 'black'
      });
       
      win.add(tableView);
      win.open();
       
      
      

      Thanks

        Attachments

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              mrahman Mostafizur Rahman
              Reviewer:
              Vishal Duggal (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code