Answered one of my questions. I changed my simulated device to 164 ppi
and got the 1.0 density. Sorry, this should have been obvious.

On Nov 16, 10:41 pm, Kim <kimknap...@gmail.com> wrote:
> I am testing our app on a Galaxy Tab 7 and a Kindle Fire. They both
> have the same number of pixels and screen size, but the various views
> on the Fire are two thirds the size of the same ones on the Tab.
> I put in a couple of lines of code to capture the screen metrics and
> find that the Tab is returning 1.5 for density and scaled density and
> the Fire is returning 1.0. Also, for densityDpi, the Tab is returning
> 240 and the Fire is returning 160. This explains the different sized
> views, but I don't understand why.
> By the way, a simulator set up with 1024x600 pixes and 169 ppi looks
> like the Tab.
>
> I do see that the Fire reports back about 165 dpi, x and y, vs about
> 169 from the Tab. Are they just on either side of the border of Large
> and Medium?
> If so, is there a way to load the layout-large xml even though the
> Fire is on the Medium side?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to