Hi,
is there any solution how recognize screen size? I'm using
Display display = ((WindowManager) getSystemService
(Context.WINDOW_SERVICE)).getDefaultDisplay();
        int width = display.getWidth();
        Log.i("width",""+width);
but it doesn't works good. If i use HVGA in emulator it returns
320x480 but when I use QVGA it returns me 320x427 but QVGA has
240x320. Why?
--~--~---------~--~----~------------~-------~--~----~
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