In Android, how to give draw a rotating/flipping coin wrt user on SurfaceView. It’s very easy to use an animation and show the flipping coin in an ImageView, but I require this on SurfaceView with the same smoothness. Is there any way that I can give flipping animation in an ImageView then take out its content at every instant and then draw it on the SurfaceView continuously?
In Android, how to give draw a rotating/flipping coin wrt user on SurfaceView .
Share
you can use Matrix class to perfom these operation on drawing bitmap.
something like
The below is the drawing thread about which i am talking about