Hello,

Thank you all for your input.
I actually wanted to know a way to grab all the children of a layout
manager so I can 'programmatically' set the width depending on the
screen size, for example.
If there are better ways to do this, please let me know.
Otherwise, I will go with Mark's suggestion on using
getChildCount() and getChildAt().

Thanks!


On Jul 15, 5:55 pm, Matt <[email protected]> wrote:
> > 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