How to set unit for Paint.setTextSize()
Is it possible to change the unit for Paint.setTextSize()? As far as I know, it’s pixel but I like to set the text size in DIP for multiple screen support. Answer I know this topic is old and already answered but I would like to also suggest this piece of code: int MY_DIP_VALUE = 5; … Read more