On 16 Sty, 18:09, Romain Guy <[email protected]> wrote:
> Do not call measure directly unless you understand precisely how to
> use it. You *have* to wait for the first layout to query the width and
> height of a View.
>
as measure() is public and docs dont say anything specific how to use
it, so, well, how to use it?
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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---