I want to use different animations in one ProgressBar. Code for init and set animation:
progressBar = (ProgressBar) this.view.findViewById(R.id.progressBar);
progressBar.setIndeterminate(true);
progressBar.setIndeterminateDrawable(this.getResources().getDrawable(R.anim.progress_small));
When I want only this code, everything is working well, but when I set new animation by
`progressBar.setIndeterminateDrawable(this.getResources().getDrawable(R.anim.progress_small))`
it doesn't work. How to use one ProgressBar for more animation?`