I'm sorry, I really don't know what you're trying to point me to.  I
have thoroughly read the docs for the class android.view.View.  Is
that what you're referring to when you say "View docs on layout" or do
you mean a different document?  I am afraid that while that
documentation is clearly thorough, it is not necessarily unambiguous,
as I still don't understand how to ask a view what its width is.

Sorry for the trouble.

Am I supposed to be reading some other documentation?

Thanks.

On Dec 9, 9:25 am, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote:
> 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 [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