Unit
Units are used to specify size, position, and other style properties. See the styles/units.Units API documentation page for an exhaustive list of unit types.
Here are some common unit types:
- •
Dp(density-independent pixels) are the base unit type - •
Emis relative to font size; 1 em is equal to the current font size