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 -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -