For the benefit of the archives, I asked the same question on Stack Overflow and it was answered by Romain Guy:
http://stackoverflow.com/questions/5852758/views-inside-a-custom-viewgroup-not-rendering-after-a-size-change On Sun, May 1, 2011 at 8:19 PM, Michael Sims <[email protected]>wrote: > > I'm running into a problem that occurs when the containing FrameLayout is > resized. The current implementation removes all of the views that represent > the events and attempts to add new ones and calculate their sizes based on > the current size of the FrameLayout. This work is being triggered via the > onSizeChanged() method of View which is overridden in the FrameLayout. > > When the view is resized, this code is executed and the views are updated, > however, none of them actually render on the screen... the views contained > within the FrameLayout are simply not visible. If I load the view in the > hierarchyviewer tool, they are part of the view tree, and are outlined in > the overview in the positions they should be in, but they do not display. > (Note that the views are visible on the initial render of the FrameLayout... > it's only after a resize that they disappear.) > -- 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

