title: How to specify spacing between elements of LinearLayout only once?
body: <p>I recently ran into a problem again that I already had several times in the last years. </p>
  
  <p><code>LinearLayout</code> is a very convenient <code>layout manager</code>. But what I totally miss is the possibility to add a certain space between the elements (like padding) in a single XML tag. </p>
  
  <p>What I mean by one tag is, that I can define in the declaration of the LinearLayout the spacing between the elements (e.g. in a vertical LinearLayout the vertical space between two elements in this layout). </p>
  
  <p>I know that I can do it by adding the XML tag <code>android:layout_marginTop</code> or something similar to every element in the LinearLayout. </p>
  
  <p>But I would like to be able to define it in only one point, as the spacing is the same for all elements. </p>
  
  <p>Does anybody know an easy way to do this (not implementing a custom LinearLayout or something like that)? I prefer a solution that works directly in XML without the need for coding.</p>