Concept

Design for Density, not Pixels

Density (DP) is the number of pixels per inch of a screen, rather than have a single pixel given. When designing an interface, it's recommended to design for the pixel density of the device rather than just the pixels. This will ensure that the elements are scaled similarly to fit different device sizes. Some screens have more pixels per inch than others, so in order for the content to maintain its sizing across different devices with varying densities, DPS will help it be rendered at 2x, 3x, 4x their original size. Below are the screen sizes with different dp and px.

Image 0

0

1

Updated 2021-10-26

Tags

Design Science