TableTopGT/pkmncc — pull request #17 by nanley (2012-04-21 19:33:21+00:00)
Title: View layout

This branch fixes a lot of the problems we've been having with drawing images at an acceptable framerate and makes handling touch events easier.

Noteable design changes:
* All cards are ImageViews, but do not draw themselves by default (transparent)
* Cards are added on top of the SurfaceView and thus we can set onTouch event handlers
* Draw is a SurfaceView that renders each pokemon's image, under the actual ImageView
* Pokemon images and sounds are dependent on a pokemon's pokedex number
* Images come from a spritesheet
* Sounds from the cries directory
* More on-screen elements (buttons for example) are being converted to Views for consistency and simplicity
* PlayerTwo's EndTurn and Forfeit buttons are now android.widget.ImageButton