Generate custom viewflipper
Is it possible to generate a viewflipper, which shows a view for 1 second and开发者_如何学编程 the other view for 3 seconds and the other for 9, ...?
One way to accomplish this to use a Timer
that calls ViewFlipper's showNext()
method after the given time has passed. Also, you can set up automatic flipping and set the interval manually through setFlipInterval
.
精彩评论