bitmap - Android how to draw 400 similar pictures (only different colors) efficiently at runtime -
i know similar questions have been asked couldn't find awnser , android beginner. want able draw houses (screenshot) during runtime. far have bean able create 400 imageviews invisible image in them , @ run-time swap image. feel extremely inefficient , seem have memory problems. images not need clickable. couldn't find way add imageviews during runtime. maybe utilize gridview (seems difficult due structure of board). thank you
i prefere use andengine. can fine toturial here (http://www.matim-dev.com/tutorials.html) or can create custom view , override ondraw(canvas canvas) method
@override protected void ondraw(canvas canvas) { canvas.drawbitmap(bitmap, left, right,paint); super.ondraw(canvas); }
Comments
Post a Comment