Read the View docs on layout.

On Tue, Dec 9, 2008 at 9:24 AM, Keith Wiley <[EMAIL PROTECTED]> wrote:

>
> I'm perplexed why the dimension accessors on Views generally return
> 0.  I have specified fill_parent as their layout_width and
> layout_height, yet calls to getWidth(), getRight(), etc. all return 0.
>
> Does this make any sense?  How do I find out how big a view is?
>
> Thanks.
> >
>


-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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