android - ProgressBar Animation -


i want use different animations in 1 progressbar. code init , set animation:

progressbar = (progressbar) this.view.findviewbyid(r.id.progressbar); progressbar.setindeterminate(true); progressbar.setindeterminatedrawable(this.getresources().getdrawable(r.anim.progress_small)); 

when want code, working well, when set new animation

 `progressbar.setindeterminatedrawable(this.getresources().getdrawable(r.anim.progress_small))` 

it doesn't work. how use 1 progressbar more animation?`

you retrieving animation resources getdrawable().

i may mistaken, don't think there way 'animate' progress changes in progress bar other changing progress in steps desired value. wrote sample code similar question.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -