http://developer.android.com/intl/fr/reference/android/view/ViewGroup.LayoutParams.html

LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams
(
                                LayoutParams.WRAP_CONTENT, 
LayoutParams.WRAP_CONTENT);

On Nov 27, 11:06 am, Mike <[email protected]> wrote:
> Hello,
>
> how can the xml attribute
> layout_width="wrap_content"
> be set in code?
> Don't know where this is buried in the docs...

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