@TreKing - I was unaware of the availability of a size qualifier (i.e.
"-large") for the drawable folders... I shall research this... thanks.

@Kostya - Wasn't so much a misconception on my part as taking
advantage of the coincidence.  The coincidence has now run out of
steam... so I need to change strategy.  I'll try the size qualifier...
and if that doesn't work, handle sizing in code (shudder).  Thanks.

Mark

On Jan 4, 3:58 pm, Kostya Vasilyev <[email protected]> wrote:
> Mark,
>
> It's a misconception to assume that screen density is related to screen
> size or resolution (although all three, taken together, are tied by a
> simple formula).
>
> Up until now, it's been the case (hdpi screens used in phones are
> typically 480x800 or 480x854), but it was only a coincidence.
>
> Try using screen size qualifiers, such as "-large", possibly combined
> with density ("large-mdpi"). The exact resolution qualifiers such as
> "drawable-800x480") are deprecated now, so you may still need to do some
> scaling at runtime in your own code.
>
> -- Kostya
>
> 02.01.2011 23:09, MarkAllenNeil пишет:
>
>
>
> > I've had a game on the Android marketplace for several months, and by
> > following the "rules" to support multiple display sizes and
> > resolutions, the game runs on form factors from 480x854 down to
> > 320x240 with no special coding required on my part.
>
> > Now I'm looking to support tablets and have run into a bit of a wall.
> > For the first time, I need to support a device which has a larger
> > screen (1366x768) and yet has only a medium resolution display.
> > Things fail to scale appropriately and the result is that my game
> > bitmaps display *way* too small on the screen.  Obviously I can't
> > replace my MDPI graphics with larger bitmaps without breaking all of
> > the phone-sized devices out there on which my game currently runs just
> > fine.
>
> > So is the recommended (or fall-back) action at this point to handle
> > this programmatically, i.e. scaling my bitmaps manually in code?  I
> > hope not... as the code gets larger and more fragile.
>
> > Thanks in advance,
>
> > Mark
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
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

Reply via email to