Your application is being run in compatibility mode. You can read about that and how to avoid it here: http://developer.android.com/intl/zh-CN/guide/practices/screens_support.html
On Dec 19, 8:57 am, greg1x <gre...@yahoo.com> wrote: > Hi! > > I'm developing a 2D game I started on Android 1.0/1.1. It scales > itself to the actual surface size, so I had nothing to change because > of the newer higher-resolution devices.I have a G1, but I'd like to > test it on a Droid too, so I've created an AVD with Android 2.0, > WVGA854. I did not check the "Scale display to real size" option, so I > expected that I'll get the real WVGA dimensions on surfaceChanged. > It doesn't happen like this. My application receives strange width/ > height values on surfaceChanged. > Width is 569. (height is also very low) > Shouldn't it be around 854? > So, my application draws/scales itself to a smaller screen and then > the emulator seems to stretch the lower resolution surface to 854 > pixels. (not even 854, in Photoshop I measured ~866 instead) > It means that I get an awfully-looking low resolution app on a big > screen. > > How can I avoid this, so my application gets the real screen size on > surfaceChanged? > > Thank you! -- 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