Is it possible to add progressbar to ActionBarSherlock? I need to show and hide it in particular time. But it has to be located inside ActionBarSherlock.
Code of my
Yes. You can add a ProgressBar to an ActionBar using ABS.
This is an extract from the source provided below, if the solutions helps, +1 the original poster ;-)
In your onCreate() method, add this piece of code:
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setProgressBarIndeterminateVisibility(true);
And when you are done with the task that you need to display the ProgressBar for, hide the ProgressBar using this code:
setProgressBarIndeterminateVisibility(false);
Credit: https://stackoverflow.com/a/9157874/450534