Does anyone have a good algorithm for converting mm to pixels on Android?
The thing is, I want to be able to set the minimum height of the view using mm as a unit.
And no, I do not want to use android: minHeight in xml, it should be in the code.
source
share