Sunday, April 29, 2012

Re: [android-developers] how to detect difference between 5 and 7 inch screen

On Sun, Apr 29, 2012 at 2:10 PM, Faust Nijhuis <> wrote:
> The strange thing is that a 5.3 inch and a 10 inch screen  with the
> same screen density (800x1250)

Those are not the same density. They are the same *resolution*.
Density is resolution divided by size.

> I have a layout with a lot of 77x160dp icons.
> On the 5.3 inch screen is see 2.5 icons and on the 10 inch screen i see 5
> icons next to each other (portrait mode)
>  Why i do see only 2.5 icons on the 5.3 inch screen?

Perhaps because 160dp will use more pixels on the 5" than on the 10",
because the density of the 5" is significantly higher.

Mark Murphy (a Commons Guy) | |

Android Training...At Your Office:

You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment