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

Reply via email to