android - Show indeterminate horizontal progressBar on the actionBar, like on PullToRefresh libraries -
background
I want to show an indefinable progress bar which will not interrupt the user. I want to avoid progress, DLOG, a progress bar in the middle of the screen or a progress bar in the action item of the action item.
For this, I want to show a horizontal progress bar as shown (and it is also present on the Google Plus app) as shown on libraries, but I do not have to do library and refresh There is no ability to scroll.
Problem
Where to find the revert code in third-party libraries is very difficult.
What I have tried
Since I use, I have tried the next code:
@Create on Public Zero Override (Last Bundle Saved Instantstate) {super.onCreate (SavedInstanceState); RequestWindowFeature (Window.FEATURE_INDETERMINATE_PROGRESS); ... getSherlock (). SetprogressBarInderminateVisibility (true); SetSupportProgressBarVisibility (true); SetSupportProgressBarIndeterminate (true);
This works, but it shows an indeterminate progress once an action bar is in the form of an object.
So I tried to adapt the style used in this activity:
It seems that there is nothing to use.
Question
Is it possible to update style and this? Have you used any third party libraries to achieve this?
Comments
Post a Comment