June 17th, 2010, 09:50 AM
|
#1 (permalink)
|
|
Junior Member
Join Date: May 2010
Posts: 15
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
|
Add Button to SurfaceView
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
PHP Code:
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
|
|
|