I'm being confused by the 'screen density' concept in Android.
I knwe that dpi (dot per inch) came from the printing device. 160 dpi
means 160 dots in every inch on the paper.
However, when dpi is used for the screen density, for example, what's
mentioned '160 dpi screen' in Android document, what's the meaning?
160 pixels on every inch of the display?

As described in 
http://code.google.com/intl/zh-CN/android/reference/available-resources.html#dimension,
1 dip (density-independent pixel) means 1 pixel on a 160 dpi screen.
Why does the ratio of dp-to-pixel not necessarily change with the
screen density in direct proportion?

When the dpi is changed from 160 to 80, how many pixels will 1dp will
take? 0.5?

I can hardly understand why dip/dp is introduced into Android.

Thank you in advance for explaining that to me.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to