Have you tried commenting out* super.onDraw()*? On Saturday, December 19, 2009 5:06:01 PM UTC-5, jdekeij wrote: > > Hoi, > > In my layout I have a custom view which extends View and under this a > button is placed. When I click the button the color changes to orange > (Android default behavior) but it also causes the onDraw method being > called of my custom view. Releasing the button causes again the onDraw > method being called. > How can I prevent this behavior? How to stop the invalidation of my > view when clicking a button? > > Thanks in advance, > Jasper > >
-- 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

