skink wrote:

> i'm asking because now i'm extending LinearLayout and have no idea how
> to measure itself and children, btw onLayout() getWidth/
> getMeasuredWidth returns 0

i'm sorry i forgot about most important thing: in my class (extending
LinearLayout) onFinishInflate() method i set visibility of one of its
child to GONE (layout has two children: one is always VISIBLE second
is initially GONE).

the question is: how to measure that child whose visibility is GONE?
is it possible at all?
--~--~---------~--~----~------------~-------~--~----~
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