Android Question MeasureStringWidth value unitw

keb

New Member
Licensed User
Longtime User
What are the units of the value returned by MeasureStringWidth? It seems to be pixels, but I'm not sure. And then (yes, I've looked at all the dip/pixel/scale info and I'm still not sure what's going on) how do I convert it to dips? Thank you.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…