That just isn't how it works. A 240x400 ldpi screen should be treated as the *exact* *same* space as a 320x533 screen which should be treated as the *exact* *same* space as a 480x800 screen.
The only difference is density, which means less or more graphical detail. Not UI/level complexity You shouldn't be making your level complexity more complicated due to changes in density. Taking an extreme -- from ldpi to xhdpi -- this would result in a UI so tiny (but with a ton of stuff on it) at xhdpi that it is impossible to use or possibly even see. This is the reason why we split things between density and screen size. They are fundamentally different things, and you need to take both into account. As I said, the platform already has various facilities to scale graphics for you, but if you need to it is pretty easy to do yourself -- if you are using OpenGL you could probably just do it at runtime; otherwise, it's just a matter of generating a new bitmap with the scaled image and throwing away the original. On Thu, Dec 23, 2010 at 6:37 PM, Utumno <[email protected]> wrote: > > Because I don't scale my graphics , and I don't let the system do it > either :) > > My reason: actually I could make the UI work in 240x400 and 240x432, > the problem is with game area. > The app is a game where infinitely many levels are created pseudo- > randomly. The bigger resolution, the more complicated and generally > speaking better levels get created. At 320x480, the game is playable, > at 480x800 , it is excellent and I DONT want to upscale the graphics > because that would simplify the levels back to more or less 320x480 > level, thus making the game worse. > > On 240x320, I still could make the game work by downscaling the > graphics, but how do I do it? Then I would have to > > - downscale on 240x320, 240x400 and 240x432 > - do *not* resize on >=320x480 > > If I can do the above, then excellent, my game would work everywhere. > If not, I have to somehow rule out all the resolutions smaller than > 320x480. > > > L. > > On Dec 24, 10:23 am, Dianne Hackborn <[email protected]> wrote: > > Why would it not work on 240x400? That is just a density change; if you > > don't scale your graphics, the platform can do it for you. > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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

