well the problem is that i am using in my activity a kind of a SurfaceView, and i want to add buttons in it.
my questions are:
1) how do i create an instance of a button without calling findViewById(...)? (cause i dont have layout because of the surfaceView)...
2) and how do i draw this button on a canvas?
or maybe you are suggesting doing something else?
all i care is that there will be button on my screen and i can implement something like OnClickListener(...)....
thanks to all in advance !!!