I'm using android:ems or android:minEms to fix the minimum width of a
set of buttons so they are all the same width.  Are there better ways
to accomplish that objective?  This works but there are some mysteries
regarding ems.

The ems attribute works correctly with the normal typeface, but
typeface "monospace" is quite a bit smaller/tighter and the ems
attribute does not scale to fit the width of characters in monospace.
For instance, if minEMS is set to 8 it has has room for 12
characters.  Without monospace it fits exactly 8 'm's.  Just wondering
if this is correct behavior and how to know what ems means with
monospace.

Also I'm not clear on the difference between 'sp' and 'dp' for
textSize measure.  TextView docs recommend using 'sp' but I haven't
found where the user scaling factor can be changed.

-- 
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