Hello,
I'm developing a custom layout with a fixed width and i don't want
the users of this custom layout to specify their own width. I was
looking at an option to specify the width via setLayoutParams() in the
constructor of the custom layout but without layout_width, i get a
runtime exception indicating that layout_width is mandatory, even for
a custom layout. ("You must supply a layout_width attribute").
Is there any way to achieve this?
--
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