Skip to content Skip to sidebar Skip to footer

Android - Draw Picture Over Imageview

I have pretty complex custom ImageView and on the other hand I have Picture object that I want to draw it on the ImageView's canvas? Is this possible? The Picture object is not to

Solution 1:

You have at least 2 options:

1 - Retriev bitmap from ImageView. Create canvas from it:

Canvascanvas=newCanvas(mImage);

Draw on that canvas.

2 - Put transparent custom View/SurfaceView over ImageView and draw on it.

Post a Comment for "Android - Draw Picture Over Imageview"