15.12.2010 11:51, Schoel пишет:
That indeed seems to be the issue, on the emulator, they both return
the same size (whereas on my phone, they do not).

This make sense if your emulator is HVGA mdpi, and the phone is hdpi.

Trying to browse the source for Paint, I found that getTextSize is a
native function with a quite useless comment about it returning the
text size. Any idea where I can find C source code?

It's in the source repository somewhere, no doubt, but I don't know off hand.

I think you can sidestep this by adding more logging for sizes before / after each step of your code.

BR,
Schoel


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to