Hi, in my game I am checking the size of the SurfaceView in the surfaceChanged method. Now with the latest SDK for Android 4.0 the emulator reports incorrect size values, e.g. it reports 1280 x 720 pixels for a device with HVGA screen, where it should list 480x320 pixels, and 1425 x 720 pixels for a device with WVGA800 screen, where it should report 800x480 pixels. This leads to unwanted results in my game, e.g. bitmaps getting created with too large size, unwanted scaling.
I found that omitting <supports-screens anyDensity="true"> in the manifest may lead to such incorrect values, but I have always included such a line <supports-screens android:xlargeScreens="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true" /> since the app works nice on basically any display. Can anyone shed light on why the numbers for width and height reported by surfaceChanged are now wrong? And how can I fix this and get the right numbers? Thanks in advance -- 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