Hi,

Just use getWidth() and getHeight(). You can also use getRight() -
getLeft()/getBottom() - getTop().

On Sun, Jan 18, 2009 at 9:27 AM, Quartz <[email protected]> wrote:
>
> Hello,
>
> I have been trying to figure out how to get the actual realized
> dimensions of my view after it has become visible and laid out. By
> that I mean the actual view minus the status bar, title bar and
> progress bar.
>
> I tried using the information in onMeasure() but that seems to give me
> info I already know about my View's size. How would I find the "inset"
> information or Window information so I know the exact size of my View
> came out to be?
>
> Any hints would be appreciated. Thanks.
>
> -Quartz
> >
>



-- 
Romain Guy
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