android the definition density-independent pixels
<p>I am new to android. I read about DP but m still confused. In one definition it says-
dp (density-independent pixels): An abstract unit based on the density of the screen. On a display with 160 dots per inch, 1dp = 1px.</p>

<p>does it mean- 160 dots=1 dp = 1 px  (each dot is 1 pixel , right?)
OR    1 dp = 1 dot(pixel) among the 160 dots</p>

<p>Pleas clarify </p>
