[TIMOB-24622] Android: Activity indicator's indicatorColor property doesn't work in android 6 & 7
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Done |
Resolution Date | 2018-12-09T08:46:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Jebun Naher |
Assignee | Unknown |
Created | 2017-04-25T08:23:42.000+0000 |
Updated | 2018-12-09T08:46:45.000+0000 |
Description
*Issue Description:*
The indicatorColor of the activity indicator doesn't work on android 6 and android 7.
*Test Case:*
var win1 = Titanium.UI.createWindow({
title : 'Tab 1',
backgroundColor : '#ccc'
});
var actInd = Titanium.UI.createActivityIndicator({
message : ' Loading',
style : Titanium.UI.ActivityIndicatorStyle.BIG_DARK,
width : '80px',
height : '80px',
font : {
fontFamily : 'tahoma',
fontSize : 30, //20,
fontWeight : 'normal'
},
color : 'black',
left : '25%',
indicatorColor : '#000',
});
var overlay = Titanium.UI.createView({
height : '100%',
width : '100%',
backgroundColor : '#000',
opacity : 0.5
});
var indView = Titanium.UI.createView({
height : '150px',
width : '65%',
backgroundColor : '#ffffff',
borderRadius : 10,
opacity : 0.8,
});
var label = Ti.UI.createLabel({
color : '#000000',
text : 'Loading',
height : 'auto',
width : 'auto',
});
win1.add(overlay);
win1.add(indView);
win1.add(actInd);
indView.add(label);
actInd.show();
win1.open();
*Expected:* The indicator color should be black
*Actual:* The indicator color doesn't change
*Steps to reproduce:*
-Run the sample code in an app.js file and it'll show that the indicator color doesn't work.
Attachments
File | Date | Size |
---|---|---|
ActivityIndicator.png | 2017-04-25T08:23:10.000+0000 | 28062 |
No comments