How to make any view to draw to canvas?
Yeah, you can do this. Keep in mind, since you’re not attaching it to a layout, you’ll need to lay it out manually before drawing it: view.layout(0, 0, viewWidth, viewHeight); And unless you just know exactly what you want for those width and height parameters, you may also want to measure it first: int widthSpec … Read more