title: Which layout should I use (css inline-block equivalent)
body: <p>I would like to build a specific layout for an android application. Actually, I would like to obtain something with the same behavior as inline-block div in html/css... I don't really know if I should use a LinearLayout or a GridLayout or something else...
  It's like a horizontal LinearLayout but when the line is full, I would like my objects to go on the next line... I'm going to add the items programmatically to the container...</p>
  
  <p>Here's an example of what I would like to do:</p>
  
  <p><img src="https://i.imgur.com/6YoKA10.jpg" alt="a layout example"></p>
  
  <p>Do you have any idea?</p>
  
  <p>Thanks by advance,
  Valentin</p>