How to make the progress bar of the title bar an indicator of the progress of rotation of the horizontal strip?

I created an action and set the title bar to contain a progress bar as follows:

this.requestWindowFeature(Window.FEATURE_PROGRESS); getWindow().setFeatureInt(Window.FEATURE_PROGRESS, 500); 

But it turns out that this is a horizontal bar, how can I make it a spin bar? (without creating a custom title bar)

Thanks Jason

+4
source share
1 answer

Use requestWindowFeature (Window.FEATURE_INDETERMINATE_PROGRESS);

+7
source

All Articles