I want to customize my own progress bar thru image view. I want to change the image view 25 times a second in a loop in order to create a moving image. How can I do the switching of the image?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could probably do this with just the normal progressBar – Set up an animationDrawable in your drawables folder like so: (taken from the android docs on animationDrawables).
Then in your code somewhere do:
Disclaimer – I haven’t tested this, but I don’t see why it wouldn’t work.