No FEATURE_INDETERMINATE_PROGRESS in ActionBarCompat for Android 2.3-

I use

requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); setSupportProgressBarIndeterminateVisibility(true); setSupportProgressBarIndeterminateVisibility(false); 

to enable / disable an indefinite progress bar. It worked with all devices with ActionBarSherlock, but when used with ActionBarCompat, it works only for Android versions above 2.3.

I was thinking about using WindowCompat instead of Window, but WindowCompat does not have the FEATURE_INDETERMINATE_PROGRESS flag.

+5
android android-progressbar android-actionbar-compat
source share
1 answer

ActionBarActivity now has supportRequestWindowFeature , you probably need to use it to get full functionality.

+6
source share

All Articles