Remember there are separate layout files that will be used for portrait and landscape mode. And you should always avoid using an AbsoluteLayout. Sounds like you might get into a messy situation with all the hardware out there.
Can you give a little more context for your question? On Dec 3, 2:21 pm, Mark Wyszomierski <[email protected]> wrote: > Hi, > > Is there always a concept of portrait mode for devices? If so, can we > get what the height of the device is in portrait mode? I'm using this: > > DisplayMetrics dm = new DisplayMetrics(); > getWindowManager().getDefaultDisplay().getMetrics(dm); > > but width and height get swapped depending on orientation of the G1. > > Thanks -- 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

