Tag archives for Dimension
What are differences between px, dp and sp in Android ?
Today, a brief reminder about Android dimensions. When you create the UI layouts of your application, you're used to define dimensions with units like dp (density-independent pixels), dip or sp (scale-independent pixels). Other units supported are pt (points), px (pixels), mm (millimeters) and in (inches) where as this second kind of units is not recommended because not independent from devices…