> what were they thinking when they named this
> parameter "layout_width"? Doesn't the very name naturally suggest a
> numeric value measuring the width, rather than rule for deriving that
> value from elsewhere?

You actually can set the layout_width to a numeric value measuring the
width.  For example, 100dip, or just 100px, if you wanted.
FILL_PARENT and WRAP_CONTENT are special cases, corresponding to the
numbers -1 and -2.

-Matt

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