What a shame. I was really hoping there is a way to do it :(

On Wed, Dec 30, 2009 at 4:06 PM, Mark Murphy <mmur...@commonsware.com>wrote:

> legerb wrote:
> > I'm struggling with the following:
> > I have a linear layout with horizontal orientation, which I'm adding
> > text views dynamically (with WRAP_CONTENT layout params). The problem
> > is that when reaching the screen border, instead of placing the new
> > text view on a new line, the new textview is placed in the end with
> > multiple line breaks.
> > Here's what it looks like:
> >
> >
> http://lh4.ggpht.com/_HX7nu4IEeEg/SztX7G-EFrI/AAAAAAAAEME/mEk6EcjjGeA/screen.JPG
> >
> > I would like the TextView05 to be placed on a new line. Is that
> > possible?
> > I don't know ahead how many text views i will have to place, i want
> > them to be placed one after another, and prefer to keep them in the
> > same linearlayout.
>
> LinearLayout puts things in a row. Rows do not wrap.
>
> There is no real equivalent in Android today of Swing's FlowLayout,
> though you could perhaps build one.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 In Print!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to