[TIMOB-19026] Provide the ability to color the ActivityIndicator spinner
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-17T04:44:41.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 5.0.0 |
Components | iOS |
Labels | activityindicator, iOS5 |
Reporter | Ben Bahrenburg |
Assignee | Eric Merriman |
Created | 2015-06-15T18:24:50.000+0000 |
Updated | 2017-03-21T20:35:20.000+0000 |
Description
Provide the ability to color the activity indicator. This feature has been available since iOS 5.
An example of this would be:
var spinner = Ti.UI.createActivityIndicator({
color: 'green',
font: {fontFamily:'Helvetica Neue', fontSize:26, fontWeight:'bold'},
message: 'Loading...',
style:Ti.UI.iPhone.ActivityIndicatorStyle.DARK,
top:10,
left:10,
height:Ti.UI.SIZE,
width:Ti.UI.SIZE,
spinnerColor:'purple'
});
Change the property name to match the existing indicatorColor property of MobileWeb
PR sent https://github.com/appcelerator/titanium_mobile/pull/6912
New PR: https://github.com/appcelerator/titanium_mobile/pull/7035
CR and FT passed. PR merged.
In a few cases indicator color is not applied on init. This is fixed in this PR https://github.com/appcelerator/titanium_mobile/pull/7092
Closing ticket as fixed.