Is there any way to add a button to a SurfaceView? Ie: I have a class which extends SurfaceView, and I was hoping in my draw routine I could do something like
I've tried various things like this, but although I get no errors, nothing renders to the screen.
Am I barking up the wrong tree?
Thanks
PHP:
Button button = new Button(getContext());
button.draw(myCanvas);
I've tried various things like this, but although I get no errors, nothing renders to the screen.
Am I barking up the wrong tree?
Thanks