How can I draw a button on top of the canvas in a custom view? (Preferably on the mid-right side) Is there something I have to call before doing the button.draw(canvas)?
Try this
public onDraw(Canvas canvas) { super.onDraw(canvas); canvas.save(); pauseButton.draw(canvas); canvas.restore(); }