Control ViewFlipping in Android Widget
Here is what I have to do:
I want to create a widget which plays a short video clip. So, what I did is, to do screenshots of the movies and get a series of screenshots of it and switch the image in a certain frame rate to achieve what I want.
In here, I used ViewFlipper and a number of ImageView under it. But the problem comes.
I have no idea how to set ViewFlipper to flip through all the ImageView once and 开发者_运维百科stop at the last one. I tried to set it as AutoStart true and set it back to false after a certain time (using Handler) but it doesnt work.
can anyone help?
Have you tried calling stopFlipping()
on view flipper?
精彩评论