Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24622] Android: Activity indicator's indicatorColor property doesn't work in android 6 & 7

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDone
Resolution Date2018-12-09T08:46:45.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterJebun Naher
AssigneeUnknown
Created2017-04-25T08:23:42.000+0000
Updated2018-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

FileDateSize
ActivityIndicator.png2017-04-25T08:23:10.000+000028062

Comments

No comments

JSON Source