Search code examples
androidscreen-resolutionandroid-2.3-gingerbread

Screen display problem in Gingerbread


I have upgraded my Motorola Atrix to Gingerbread (2.3.4), so far with no issues. When I go for my old apps and games which I developed previously, those are not displayed fully in the screen, it is only giving a 320x480-pixel display. Do I need to change my code or my phone settings?


Solution

  • Given that you currently use android:minSdkVersion="1", try setting minSdkVersion="4" or setting anyDensity to true.

    Both should have the same effect of allowing your app to scale beyond Android 1.0 screen sizes of 240x320; before SDK 4 (Android 1.6 ) the default was not to scale as there was only a single resolution.