Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23497] Android: Support indicatorColor and indicatorDiameter properties on Ti.UI.ActivityIndicator

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-10-20T09:02:02.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.1.0
ComponentsAndroid
Labelsparity
ReporterChristopher Williams
AssigneeGary Mathews
Created2016-06-10T19:29:01.000+0000
Updated2017-01-19T22:21:52.000+0000

Description

Android is the only platform that doesn't support Ti.UI.ActivityIndicator's indicatorColor and indicatorDiameter properties. We should ideally support it for parity's sake. http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.ActivityIndicator-property-indicatorDiameter

Comments

  1. Samir Mohammed 2017-01-18

    Verified improvement with the test case provided in https://github.com/appcelerator/titanium_mobile/pull/8529 , Was able to change the indicator color from blue to red activityIndicator.setIndicatorColor('red'); but was not able to verify changes in the diameter for indicatorDiameter. Is their a reason for this [~gmathews]? *Environment*
       Appcelerator Command-Line Interface, version 6.1.0
       Nexus 6P (Android version 7.1.1)
       Operating System Name: Mac OS X El Capitan
       Operating System Version: 10.11.6
       Node.js Version: 4.6.0
       npm: 4.2.8
       Titanium SDK Version: 6.1.0.v20170115172707
       Xcode: 8.2
       Appcelerator Studio: 4.8.1.201612050850
       
  2. Gary Mathews 2017-01-19

    [~smohammed] Yes, indicatorDiameter is only supported on MobileWeb.
  3. Samir Mohammed 2017-01-19

    Alright Thanks, Closing ticket as activityIndicator.setIndicatorColor is working as indicated above.

JSON Source