0

I wonder if there is a library that enables adding Views aligned like continuous text.

For example, if there are 3 Views next to each other in the current "line" and the fourth is too wide, then it will be carried over to the next line automatically.

Andriy M
  • 73,804
  • 16
  • 91
  • 150
Thommy
  • 4,729
  • 2
  • 25
  • 45

1 Answers1

0

Not sure I get your question, but check out GridLayout http://developer.android.com/reference/android/widget/GridLayout.html

Wenhui
  • 648
  • 4
  • 13
  • No sorry that is not what i ment. I want to add Views with different width. So some lines with two views, some with three, and so on – Thommy Oct 07 '12 at 19:03
  • Then you probably need to create a custom layout, this might help you: http://stackoverflow.com/questions/549451/line-breaking-widget-layout-for-android – Wenhui Oct 07 '12 at 19:26