You can use the sp (scaled point) and pt (point) units as well.

On Oct 9, 2008 3:01 PM, "Mark Murphy" <[EMAIL PROTECTED]> wrote:


Fonts in TextView are specified in pixels or other similar physical
dimensions, rather than point sizes.

If, say, we use android:textSize="25px", how are the 25 pixels measured?
Ascender to descender? Ascender to baseline? Something else?

Thanks!

--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.3 Published!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
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