On Jan 21, 12:59 pm, Moandji Ezana <[email protected]> wrote:
> In Android, you have folders with special names into which you put various
> resources and the runtime then decides which version to use. These
>  resources can be layouts, images, text, color codes, binary assets, almost
> anything. The codes you can use to compose the folder names are things like
> ldpi, mdpi and hdpi for screen densities, portrait and land for orientation
> and locales. You can combine those three any way you want.

So is this how you would handle the different dpi at similar
resolution?  A tench inch tablet has about double the screen area of a
seven inch tablet, but both have similar pixel resolutions.  So a
button that's 100x100 pixels on the ten inch tablet is about a third
to a quarter the size on the seven inch tablet (that's where Steve
Job's comment about filing down your finger tips to a quarter of their
size" came from) and has to be more like 170x170 pixels to have the
same physical size (assuming the ten inch one has more pixels than the
seven inch one).

Now on PCs you don't care about these differences too much because you
assume that with the mouse, people can hit buttons of any size, and if
it's too small, they'll make the fonts bigger or change to a lower,
non-native resolution.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" 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/javaposse?hl=en.

Reply via email to