is there any way to create a layout that wrap_content horizontally and if the line is full place the rest in new line(s).
example:
if I create a linear layout with orientation set to horizontal and then I create three buttons filling screen size(Button)(Button)(Button), now if I add more buttons it will be placed in a very ugly way in the end of the line. What I want is for the new buttons to be placed in new line, and I don't want to create more than one layout because these buttons are placed dynamically from java according to an API input. Is there anyway to do that, or I just have to design a function to handle it?