One dp = 1/160 of an inch, for any device density.
One inch = 160 dp.
Size_in_dp = Size_in_inches * 160;
Size_in_inches = Size_in_dp / 160;
32 dp --> 32/160 --> 2/10 --> 0.2 inch
-- Kostya
13.05.2011 19:44, Brill Pappin пишет:
Ok, that helps... so the formula (assuming mdpi) would be (correct me
if I'm wrong):
Xdp=160 * Yin
or
32dp=160 * 0.2in
- Brill
--
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
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
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