title: How can i move a layout up on screen when another one above it is invisible in android?
body: <p>I have this kind of structure in my screen and there's +/- button on my screen. On clicking - ListView inside LinearLayout_2 has been set Invisible and I want to move LinearLayout_3 up when the Listview is hidden/invisible.</p>
  
  <pre><code>&lt;RelativeLayout Id="1"&gt;
    &lt;LinearLayout Id="2"&gt;
         &lt;ListView /&gt;
    &lt;/LinearLayout&gt;
    &lt;LinearLayout Id="3" below="LinearLayout2"/&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>