It is strongly recommended that you not do anything based on the raw screen
dimensions, but use layout managers to adjust for the screen size.  You can
easily write your own layout manager (deriving from VIewGroup) to have your
code run every time it gets a new size.

On Sun, Aug 16, 2009 at 8:57 PM, Aanderson144 <[email protected]>wrote:

>
> I am trying to make my display routine reactive to the size of the
> screen in pixels my question is does android.view.Display.getHeight()
> return the displays total size or will it return different values in
> fullscreen and normal views?
>
> >
>


-- 
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, and so won't reply to such e-mails.  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