[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread Odessa Silverberg
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

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread 王华
hi susan ,are you a male or female ? 2009/6/10, Susan smxb...@gmail.com: 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

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread Susan
Thanks for your answer. On 6月10日, 下午10时20分, Odessa Silverberg silverberg.ode...@googlemail.com wrote: 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

[android-developers] Re: 1dp=1/160 inch ?

2009-06-10 Thread Susan
I am female. Why do you ask? On 6月10日, 下午2时19分, 王华 timeswon...@gmail.com wrote: hi susan ,are you a male or female ? 2009/6/10, Susan smxb...@gmail.com: 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?-