btw this is what i'm doing in onFinishInflate() before setting
visibility to GONE:

ViewGroup.LayoutParams params = content.getLayoutParams();
if (MeasureSpec.getMode(params.height) == MeasureSpec.UNSPECIFIED) {
        contentHeight = params.height;
} else {
        content.measure(params.width, params.height);
        contentHeight = content.getMeasuredHeight();
}
content.setVisibility(GONE);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to