| GitHub Issue | n/a |
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2021-03-11T02:20:30.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 10.0.0 |
| Components | Android |
| Labels | ActivityIndicator, android, parity |
| Reporter | Ashish Sebastian |
| Assignee | Joshua Quick |
| Created | 2017-02-01T14:14:17.000+0000 |
| Updated | 2021-03-11T02:20:30.000+0000 |
Steps to reproduce the error :
var win = Ti.UI.createWindow({
backgroundColor : "#fff"
});
var activityIndicator = Ti.UI.createActivityIndicator({
indicatorColor :"red",
indicatorDiameter : "50dp"
});
activityIndicator.show();
win.add(indicatorHolder);
win.open();
indicatorDiameteris mobileweb only. And your example code does not work,indicatorHolderis not defined. If you meanindicatorHolderadd it before showing it.Hello, I have tested the below code, I see the indicatorColor is not working in Android. tested with SDK 6.0.1.GA.
var win = Ti.UI.createWindow({ backgroundColor : "#fff" }); var activityIndicator = Ti.UI.createActivityIndicator({ indicatorColor : "yellow" }); win.add(activityIndicator); win.addEventListener('open', function(e) { activityIndicator.show(); }); win.open();Hi *@Hans Knöchel* : Thanks, for the reply and I believe that was a copy paste error, so you please try with the below code and you'll find the issue with "*IndicatorColor*". I need to change the color of the animated indicator. var win = Ti.UI.createWindow( { backgroundColor : "#fff" } ); var activityIndicator = Ti.UI.createActivityIndicator( { indicatorColor :"red", indicatorDiameter : "50dp" } ); activityIndicator.show(); win.add(activityIndicator); win.open();
Hi, *Eric Merriman* : any success with this issue.
This was resolved in Titanium 10.0.0 by ticket: [TIMOB-28351]