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.
This is Android behavior where the inverse style (DARK) will use the right color scheme for a light theme, it may not be always DARK.
Closing ticket as invalid.