thanks for the responses.

i decided to go with 1 layout for the children - i just change the
background color for the different types.

and yes since convertView can be any child previously used, you
have to explicitly set the background color on every getChildView()
call.

right now the layout has 2 text rows - ideally i don't need the second
row of text for certain child types.

i set the visibility to the 2nd row text views to GONE - but the first
row (now only row) still is not vertically centered

i've got the gravity of the 1st row textview to CENTER_VERTICAL but
it's still not centered.


-- 
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

Reply via email to