Re: [android-developers] ydpi != xdpi

2013-02-06 Thread Streets Of Boston
Just look here: http://developer.android.com/reference/android/util/DisplayMetrics.html#density On Wednesday, February 6, 2013 10:35:52 AM UTC-5, bob wrote: > > Can you please rephrase what you are saying here? I can't understand it. > > > Part of the issue is that a lot of code relies on the de

Re: [android-developers] ydpi != xdpi

2013-02-06 Thread bob
Can you please rephrase what you are saying here? I can't understand it. Part of the issue is that a lot of code relies on the density being a single number as shown here: Also, can

Re: [android-developers] ydpi != xdpi

2013-02-05 Thread Romain Guy
There are two ways to have xdpi == ydpi: either your display is square or the display pixels are not square. Why does it make things more complicated? On Tue, Feb 5, 2013 at 1:08 PM, bob wrote: > I think I saw on my Nexus 7 that the ydpi differs from the xdpi. > > > Was I imagining or is this r

[android-developers] ydpi != xdpi

2013-02-05 Thread bob
I think I saw on my Nexus 7 that the ydpi differs from the xdpi. Was I imagining or is this really the case with some devices? Can someone help me understand why a manufacturer would do such a thing? It seems like it makes things more complicated with no benefit. Thanks. -- -- You re