concatenating android canvas
I am looking for an example for constructing a canvas with multiple bitmaps(kind of in a grid pattern).
would I need to create a single bitmap that holds all of the other bitmaps on top or can I just place each bitmap "into" 开发者_如何学Gothe canvas (similar to concatenating a string)?
note: that I will also be placing additional images ontop of this constructed canvas (probably other bitmaps) would this cause any additional issues, or can I just add those right on-top?
You can possibly have an View with the onDraw(Canvas canvas)
method drawing the grid you want using the drawBitmap(...)
collection of methods of the Canvas class.
EDIT: This way you have to deal with z-order and all the positioning of course
精彩评论