开发者

Surfaceview re-draw

开发者 https://www.devze.com 2023-03-11 12:52 出处:网络
I have two images on a surfaceview and only one of the images开发者_如何学Python is animated, the second image is static and keeps drawing itself over itself and so this makes the program slow. How ca

I have two images on a surfaceview and only one of the images开发者_如何学Python is animated, the second image is static and keeps drawing itself over itself and so this makes the program slow. How can i prevent this?


Override draw in your SurfaceView and manually draw what you want.

Alex

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号