Closed ispbox closed 5 years ago
Because of this I have to specify label size in such a strange manner: labelSize = 14f * getResources().getDisplayMetrics().scaledDensity
@ispbox Hi, thank you for your issue! It will be included on next version soon. Thank you :)
Thanks a lot :)
@skydoves Thanks a lot, works good :)
If I specify label size from code, it looks like it is measured in pixels. Here is the code from library:
I can propose to change it to
because this way you will specify size in sp, not in pixels. This is how all controls in android work. Your default value of 12f is very small because of px units instead of sp.