Forum Xamarin Xamarin.Forms

How to show Progress Bar on Action Bar in android?

I want to show the progress bar in my action bar. I tried to show it, but when I am trying to do it, I am getting both progress bar, spinner and horizontal in action bar.

At top blue horizontal progress bar is running and on right spinner is running. But I want only top blue progress bar below the Hubsystem logo. I don't know why spinner bar is showing.

I am using following code :

RequestWindowFeature(Android.Views.WindowFeatures.Progress);
base.OnCreate(bundle);

SetProgressBarIndeterminateVisibility(true);
SetProgressBarIndeterminate(true);
SetProgressBarVisibility(true);
How I can get only blue progress bar at bottom of action bar?

Sign In or Register to comment.