title: Alternative to weightSum in RelativeLayout?
body: <p>I have four <code>TextView</code> items that I want to evenly spread in a horizontal line. This means that all the space in a line must be evenly occupied by the <code>TextView</code> items. Like this:</p>
  
  <p><img src="https://i.imgur.com/KsWH3Mx.png" alt="Evenly spaced TextViews"></p>
  
  <p>Previously, I used LinearLayout for this. I had the weightSum as 4 and assigned a layout_weight of 1 to each <code>TextView</code> item. However, this compromises on some functionality I want to implement in my app:</p>
  
  <p>I want to put an <code>EditText</code> item under each of the four <code>TextView</code> items. The <code>EditText</code> items visibility will be set to INVISIBLE first, and then at the touch of a button, the EditTexts will become visible and the visibility of the Textviews will be set to INVISIBLE. This is only possible if I use RelativeLayout</p>
  
  <p>So how do I use RelativeLayout for the four <code>TextView</code> items while evenly occupying all the space?</p>