I am developing a game , I used the gametemplate by MrSnowflake. Thus I have a GameView extending the SurfaceView with a thread that handles the drawing etc. I need 4 buttons at the bottom of the screen. These will only use touch events, the game will not use d-pad or trackball events.
My questions : 1) Should the surfaceview draw and handle the "button" touch presses? Or should i add button views to the parent activity, and those button views will handles the touch presses? 2) What is the best practise for layouts for games where surfaceview's are extended? 3) How does one change the size of the canvas thats provided via doDraw (). Currently the canvas is filling the screen not allowing me to see the button views that are below the surfaceview. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

