Ah right, I remembered DisplayMetrics for screen size.  I knew I had
seen that before.  So, I guess I can deduce the status bar height
then.  Sorry.

On Jun 3, 7:05 pm, Keith Wiley <kbwi...@gmail.com> wrote:
> I want to find the dimensions of the various views in my layout.  My
> understanding is this can only be done after layout is completed since
> layout is somewhat dynamic.  So, after the activity calls
> setContentView() and then returns control on the main thread to the OS
> so that layout can occur, how do I get a notification that layout has
> completed so I that I can query the views for their dimensions?
>
> On a related topic, can I find out the status bar's height...or least
> the screen's full size (from which the status bar's height can be
> calculate by subtracting my window's height)?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to