In this specification document for Material Design in Android, it is written,
All components align to an 8dp square baseline grid. Type aligns to a 4dp baseline grid. Iconography in toolbars align to a 4dp square baseline grid.
Why have they used the dp square unit for the baseline grid for UI components and iconography, but the dp unit for the type?