How to set unit for Paint.setTextSize()

Posted by Yverman on Stack Overflow See other posts from Stack Overflow or by Yverman
Published on 2010-06-17T13:17:21Z Indexed on 2010/06/17 13:23 UTC
Read the original article Hit count: 207

Filed under:
|
|

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.

Thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about android