Reputation: 5033
I would like to add an Image to a SurfaceView and the image should blink at regular time intervals. I am able to add the image to the SurfaceView, but I am unable to make it blink. Please tell me a method for making image disappear after being been added to the SurfaceView.
Upvotes: 0
Views: 313
Reputation: 10993
Use a Thread
within your extended SurfaceView
class to perform the animations you need. You should study the Lunar Lander example project, which demonstrates the concept very well.
Upvotes: 2