Not sure that this is the best answer, but here's what I am using:

        int height =
getWindow().getWindowManager().getDefaultDisplay().getHeight();
        int width =
getWindow().getWindowManager().getDefaultDisplay().getWidth();
        if ( width > height ) {

On Nov 4, 7:12 am, Hw3699 <[EMAIL PROTECTED]> wrote:
> How to test if the screen is in HVGA-L mode?

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to