Android slide out animation , space left is filled by other view
<p>using sdk 2.3</p>

<p>I have a view at the bottom of the screen that I want to slide out so I use this code </p>

<pre><code>       FrameLayout ll1 = (FrameLayout) findViewById(R.id.bottom_panel);
        Animation anim1 = AnimationUtils.loadAnimation(this, R.anim.slideoutbottom);
        anim1.setInterpolator((new  
                   AccelerateDecelerateInterpolator()));
        anim.setFillAfter(true);
        ll1.setAnimation(anim1);
        ll1.setVisibility(View.GONE);
</code></pre>

<p>xml: </p>

<pre><code>       &lt;?xml version="1.0" encoding="utf-8"?&gt;
       &lt;set xmlns:android="http://schemas.android.com/apk/res/android"&gt;
       &lt;translate android:fromYDelta="0%p" android:toYDelta="45%p"          android:duration="500" android:zAdjustment="bottom"/&gt;
       &lt;/set&gt;
</code></pre>

<p>THe problem I have is that there is a view in the middle of the screen which is expanding to fill the space left by the view sliding out. I don't want this to happen, I just need the view in the middle to stay where it is and I will fade this one out.</p>

<p>How to solve
Thanks</p>
