Drawing custom view on SurfaceView in Android -


i have develop simple game in android. draw multiple views image , text on surfaceview in background thread. how can achive best performance? image , text changed dynamically each view , rendered in each frame. have read options:

  1. inflate view xml, fill fields data, convert bitmap , draw on surfaceview.

  2. use vectordrawable. don't know how access inner field change text.

any advice?


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -