Diane, et. al. I've looked at this extensively without resolution. The widget that is most similar to what I'm trying to create is the Gallery. In the Gallery, there is a private setUpChild method. This method has the following (stuff omitted for brevity):
Gallery.LayoutParams lp = (Gallery.LayoutParams) child.getLayoutParams (); addViewInLayout(child, fromLeft ? -1 : 0, lp); child.measure(childWidthSpec, childHeightSpec); child.layout(childLeft, childTop, childRight, childBottom); The gallery calls setUpChild from it's onLayout override. So I understand the basic process to be 1. addViewInLayout, 2. measure it 3. layout the child. However, when I follow these steps in my extension of AdapterView, I get no visible sub children. If you notice my "magicitem.xml" the children expand to an ImageView nested inside a FrameLayout. I can see the frame , but not the image. I know the ImageView is inflated because an eclipse breakpoint and watch reveals the ImageView as a child of the FrameLayout. All of the properties of the ImageView seem to be set appropriately. I've tried to create extensions up and down the hierarchy, extending ViewGroup, AdapterView, and even Gallery. All tests have the same result. Children do not show their child view collections. I'm sure there's a simple step I'm missing or something is out of order. Does anyone have any idea what I'm missing here? Has anyone else tried an extension of ViewGroup or more specifically AdapterView? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

