1

Custom ViewGroup doesn't render correctly all children

view story
linux-howto

http://stackoverflow.com – I have created a custom ViewGroup to render a Dashboard of buttons. The children of the ViewGroup are custom compound views (extending RelativeLayout) which contain a Button and a TextView. The problem is that only the first child is rendered correctly (that is the button and the text are visible to the user). The other views are "there" (I checked this in the hierarchy viewer and the various layout editors in eclipse and IntelliJ) but not "visible". I have tested this with a static xml layout file where I have added the children and at runtime. I can post some code if this necessary. (HowTos)