I need a multi-line layout that will behave like a horizontal linear layout, but when there is not enough space to place a new widget, it will expand to the next line, like words in the text. Widgets will be added there at runtime and should come with wrap_content . Actually there would be buttons.
Are there any widgets with this behavior? Or give a suggestion on how to write such a layout yourself.
Finally, it should look like this:

android android-layout
Raiv Aug 09 '11 at 13:21 2011-08-09 13:21
source share