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 density being a 
> single number as shown here:
>
>
> <https://lh6.googleusercontent.com/-49wC0ys4m0U/URJ4Qj4RRNI/AAAAAAAAAMQ/-CaNWHHwQ9o/s1600/dpibad3.png>
>
>
>
>
>
>
> Also, can someone help me understand how that tool can say that the 
> density is 213 dpi if the xdpi is 195 and the ydpi is 200?
>
>
> Thanks.
>
>
>
> On Tuesday, February 5, 2013 3:44:15 PM UTC-6, Romain Guy (Google) wrote:
>>
>> 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 <[email protected]> wrote:
>>
>>> 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 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
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Android Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>
>>
>> -- 
>> Romain Guy
>> Android framework engineer
>> [email protected]
>>  
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to