Hi, To redraw a View, simply call invalidate(), then your onDraw(Canvas) method will be invoked. SurfaceView has nothing to do with it, forget about SurfaceView for now :)
On Sat, Oct 11, 2008 at 4:50 PM, august <[EMAIL PROTECTED]> wrote: > > Hello, > I want to create a custom component extending View, but I am not sure > how to tell the Android os when I want to redraw my component. For > instance, how does Gallery redraw itself when the user pushes the > right button and the selected view changes? Do all Android created > Views contain a SurfaceView that is uses to draw into? How do I do > this? > > Thank-you > > > > -- Romain Guy www.curious-creature.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

