ACR User dialogs - Change busy indicator color?

Viewed 1432

How do I change the default color of the activity indicator - Loading Spinner in ACR user dialogs. For the Loading Instance. I tried to make changes in my "style.xml" but it is not working and there is nothing about this in the git hub repo.

Update : enter image description here

1 Answers

In your case , you just need to use the default ActivityIndicator in forms . The property Color is available

<ActivityIndicator x:Name="dialog" >

  <ActivityIndicator.Color>
          <OnPlatform x:TypeArguments="Color" Android="Red"  iOS="Black"></OnPlatform>
   </ActivityIndicator.Color>

</ActivityIndicator>

And set the value of dialog.IsRunning to display or hide the dialog .

Related