title: Android relayout issue
body: <p>help me please</p>
  
  <p>My xml-layout is something like this</p>
  
  <pre><code>&lt;LinearLayout width=fill height=wrap orient=horizontal&gt;
    &lt;LinearLayout width=0 height=wrap weight=1&gt;...&lt;/&gt;
    &lt;LinearLayout width=0 height=wrap weight=1&gt;...&lt;/&gt;
    &lt;LinearLayout width=0 height=wrap weight=1&gt;...&lt;/&gt;
    &lt;LinearLayout width=wrap height=wrap weight=0&gt;...&lt;/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>This inflated <code>main.xml</code> does exactly what i need - four groups distributed evenly on screen.</p>
  
  <p>BUT when i start the activity with [for example] second sub-layout visibility <code>GONE</code> and make it <code>VISIBLE</code> in runtime, whole root/parent layout looks very bad. Subviews  [from sublayouts] messed with each other, looks like their positions didn't recalculate to take into account new <code>linearlayout</code> became visible.</p>
  
  <p><code>requestLayout()</code> and <code>forceLayout()</code> didn't help.</p>
  
  <p>How can i make the root Layout do the same thing it did when the activity just started?</p>