What is the best way to create a canvas drawing that fits the activity?
I'm trying to create a canvas drawing in android but inside the emulator 开发者_如何学Cit looks centered. When deploy in a cell phone or tablet, the drawing is at a corner. I read that you need to override onMeasure but not sure how that will work when you draw the bitmap / or set layout parameters.
You can always have a View as Fill_Parent and draw on the view's canvas.
精彩评论