I'm making an android game with SurfaceView and I need to handle touch events.
onTouchEvent(MotionEvent event) and it worked except for making buttons.
If there is an
onTouchFinishEvent() type thing, that would be useful for making a button. Or instead should I use an Android button (with a transparent texture) and if so what's the best way.