Using the new app21, r21 library, I wanted to show an undefined (rotating) progress bar on the Toolbar.
Previously, using the <r21 appcompat library, this worked, but there seems to be no progress bar implementation in r21. I'm right? Is there a way to do this without creating a custom progress bar?
My onCreate method starts with:
supportRequestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); super.onCreate(savedInstanceState); setSupportProgressBarIndeterminate(true); setSupportProgressBarIndeterminateVisibility(true);
source share