I have an android application that retrieve some strings from internet, and should create a button for each string, and show it to user. I would show it one after the oter, and when i reach the end of layout (width), other elements should be placed below. for example, if i have this elements:
string1, string2, string3, string4, string5, string6 string7
i would put it inside my layout like:
string1 string2 string3
string4 string5 string6
string7
(it's it's just a coincidence that in my example each "row" contains exactly three strings)
now i put elements inside Linearlayout with horizontal horientation, but from "string3", all strings goes out from my layout.
How can i do it?