No, not really. If you have a 200 dpi screen, it would be theoretically 1.25px. But since you can't have a 1/4 pixel, it basically has to be rounded down to 1. So on 200 dpi 1 dp would be 1/200 inch.
However, 4dp will be 4 pixel on 160 dpi screen and 5 px on a 200 dpi one. Or in other words 1/40 inch or 1/50 inch on 200 dpi. On Jun 10, 8:06 am, Susan <smxb...@gmail.com> wrote: > In Android documentone, dp is one pixel on a 160 dpi screen. So I > think 1dp=1/160 inch. Am I right? Are they different in use? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---