I was prompted to pursue this myself this week after stumbling across
one of Al Sutton's blog posts on the subject: http://tinyurl.com/334gvne

In short, the Streak reports itself as mdpi/large, and we know from
elsewhere that the Galaxy Tab reports as hdpi/large. I felt this gave
enough to get started with, so I created a couple of emulator
instances - for these two devices' resolutions, API levels, and
densities - and got to work. Before I was done, 2 of my 3 top apps
were looking quite good on both configurations; the third will require
some new graphics, so I'm putting it off for the moment.

Basically, I'm assuming that all tablets will report as "large" in one
density or another, and therefore "large" roughly means >= 5"
diagonal. And to be honest, I didn't have too much trouble with the
misreporting Galaxy Tab config; if I worked my layouts & dimensions
from size (large vs. normal) rather than density (hdpi vs mdpi),
things seemed to go OK.

So now I have apps which work reasonably well on everything from a 3"
QVGA to a 7" WSVGA, and everything in between (HVGA, WVGA, ...). While
I can't deny that I've got a goodly number of layouts, drawables, and
dimensions now, it still seems manageable - and I'm fairly confident
that I'm ready for the current crop of devices.

String

On Sep 16, 2:42 pm, niko20 <[email protected]> wrote:
> Ok,
>
> I've spent the last few days working on my layouts, and I have
> everything looking good on small screens and normal screens. Now I'm
> tackling large screens.
>
> However, the question I have is, how do we really know what a device
> reports itself as? For example, in the blog post about the Samsung
> tablet, it was stated that even though the tablet is 170dpi, it
> reports itself as "hdpi".
>
> So my question is then how can we really know, based on a a device's
> specs, what it is going to report itself to android as? Such as large,
> hdpi, normal, etc,
>
> In particular the Dell Streak is 5 inches, and has 187ppi. Is the
> Streak going to report itself as mdpi or hdpi. If it reports itself as
> mdpi will it still be considered "large"?
>
> Maybe we don't know the answers to this since even android 2.2 does
> not support really large screens well yet - but any more input is
> appreciated.
>
> I do have a layout working for the Samsung tablet specs, but obviously
> this layout would be too "large" for a dell streak layout (I'll be
> working on the layout to make it so it can resize more correctly
> though)
>
> But in order to test the different scenarios we need to know the
> actual specs of what the hardware will report itself as. The Samsung
> tablet appears to have "broken" convention and reports itself as
> something different than one would think.
>
> -niko

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