Is this definition correct?
dp Density-independent Pixels - 1/160 of an inch based on the physical size of the screen.
I have found conflicting information:
The official documentation assumes scaled proportionally in equation “px = dp * (dpi / 160)”. Also here (3:02) Roman Nurik says “scaled proportionally”
But in official documentation:
px Pixels - corresponds to actual pixels on the screen. in Inches - based on the physical size of the screen. mm Millimeters - based on the physical size of the screen. pt Points - 1/72 of an inch based on the physical size of the screen. dp Density-independent Pixels - An abstract unit that is based on the physical density of the screen. These units are relative to a 160 dpi (dots per inch) screen, on which 1dp is roughly equal to 1px. When running on a higher density screen, the number of pixels used to draw 1dp is scaled up by a factor appropriate for the screen's dpi. Likewise, when on a lower density screen, the number of pixels used for 1dp is scaled down. The ratio of dp-to-pixel will change with the screen density, but not necessarily in direct proportion.
If my definition is correct, Why introduce a new physical size measure if we already have the well-known mm, in and pt?