[android-developers] How do I initiate/terminate xml-defined SurfaceView upon a button push?

2011-04-07 Thread Greg
Hello, I'm trying to initiate an animation to run in a specific xml-defined view with a button push. Currently It runs when I push the button but but the animation uses the entire display, covering all of the other widgets including the button used to start it. The info and examples I've found a

[android-developers] How do I initiate/terminate xml-defined SurfaceView upon a button push?

2011-04-07 Thread Greg
Hello, I've patterned my initial code from another tutorial to create classes to handle drawing to a SurfaceView. This tutorial (and others I've found) associate an xml-defined SurfaceView to a class which intiates upon creation. My goal is to initiate animation in an xml-defined surface view up