Currently, i develop a android application. In my activity, i would like to place my elements according to their size. i explain : i have 3 LinearLayout in a GridLayout like this :
GridLayout (2,2, horizontal) allow to put the LinearLayouts like this :
I would like to do the same, but no with GridLayout(2,2,horizontal), but just according to the size of the element.
For example, if the screen is large, it's possible to have the 3 LinearLayout on the same line and inversely if the screen is small, juste 1 LinearLayout by line.
I hope I have been clear, Thanks in advance.