title: Android include layout below element
body: <p>I would like to create a layout as in the image. 
  It did not include him, so the code is very long. 
  I want to create a layout for each BOX and include it in the main layout, one below the other.</p>
  
  <p><a href="https://i.stack.imgur.com/gzM1D.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gzM1D.png" alt="enter image description here"></a></p>
  
  <p>The problem is that the XML file a layout of this type is very long. 
  So I would use includes layout and create a new layout which then repeatedly will include, for example:</p>
  
  <p>I have a RelativeLayout, and I have an ImageView for the line1, below I want to design the box in this method to reduce the code:</p>
  
  <pre><code>&lt;include layout = "box1"
  layoutBelow = "linea1"
  /&gt;
  </code></pre>
  
  <p>And the same for the box 2:</p>
  
  <pre><code>&lt;include layout = "box2"
  layoutBelow = "linea2"
  /&gt;
  </code></pre>
  
  <p>But the layout I include not aligned as I would like. 
  The layout is     superimposed on the existing one.</p>