Month: July 2017

Sp and dp units in Android

A few simple observations about what metrics are used in Android to define the width of buttons, the size of the text etc. One of the questions the students often ask is whether it is necessary to use pixels to set the width of the different elements present in a View layout. Android Well, the [...]

Read More