title: Automatic/dynamic margin in Android layout
body: <p>I was wondering if it's possible to set an automatic/dynamic margin (padding?) between elements in an Android layout without having to do it programmatically?</p>
  
  <p>For example let's say there is a horizontal LinearLayout which is set to <code>android:layout_width="fill_parent"</code> and that contains five elements. Is there a setting that evenly shares the remaining empty space of the LinearLayout to the margins of the child elements?</p>
  
  <p>See image at <a href="http://img63.imageshack.us/img63/8/margin.png" rel="nofollow noreferrer">http://img63.imageshack.us/img63/8/margin.png</a></p>
  
  <p>Thanks for any help!</p>