This is my problem. I have a main view, a TableLayout view, this view has other views as its children added to it. One of the child views is a custom view, MyView, that I created to draw graphics on it and to receive click events. The other children are all buttons. When I click on the MyView the MyView.invalidate() button is called so that MyView gets refreshed with the new graphics. What is supposed to happen after calling invalidate() is that the MyView.onDraw() method is supposed to be called but it is never called.
After some experimenting I discovered that the only reliable way to get MyView.onDraw() to be called is for me to call the top view's invalidate() method, in this case the TableLayout view. Anybody has seen this problem before and know how to fix it. Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---