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

Android: ActivityIndicator style is not working properly on Android

    Details

      Description

      Description of the problem

      When setting the style of the ActivityIndicator in Android, the color never gets changed.

      Steps to reproduce

      Use the following code; testing on Android does not work, while iPhone is ok:

      var win = Ti.UI.createWindow({
      	backgroundColor: 'gray',
      	layout: 'vertical'
      });
       
      var style = (Ti.Platform.osname == 'android') ? Ti.UI.ActivityIndicatorStyle : Ti.UI.iPhone.ActivityIndicatorStyle;
       
      var ind1 = Ti.UI.createActivityIndicator({
      	style: style.PLAIN,
      	message: 'Plain indicator',
      	top: 50
      });
      ind1.show();
       
      var ind2 = Ti.UI.createActivityIndicator({
      	style: style.DARK,
      	message: 'Dark indicator',
      	top: 50
      });
      ind2.show();
       
      win.add(ind1);
      win.add(ind2);
       
      win.open();
      

      See screenshots attached.

        Attachments

          Activity

            People

            • Assignee:
              sunila Sunila
              Reporter:
              dcassenti Davide Cassenti
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code