Hi, all
I have a problem with the wvga854 avd screen size. When my
application running on this avd, it does not use the layout-hdpi-v6,
but uses the layout-mdpi-v6.
To make it clearer, I add the below code. it prints that the screen
size of the wvga854 avd is 320x569 ! Why?
Display display = ((WindowManager) getSystemService
(Context.WINDOW_SERVICE)).getDefaultDisplay();
int device_width = display.getWidth();
int device_height = display.getHeight();
Log.i("screen", "device width is " + device_width);
Log.i("screen", "device height is " + device_height);
My develop environment is Mac ox + android 2.0 sdk.
I begin to suffer more and more pain of these problems... does it have
to have so many different kinds of android phones on the world?
--
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