The listener after an animation in android doesn't work
<p>I set android:fillAfter="true" in res/anim.</p>

<p>I want to move a LinearLayout to y</p>

<p>Into that LinearLayout I put a button with a Listener. </p>

<p>After the anim of the LinearLayout, that LinearLayout is in new position but the button into that LinearLayout doesn't have the Listener. </p>

<p>The Listener is where the button would be if the android:fillAfter="false".</p>

<p>I tried also with:</p>

<pre><code>public void onAnimationEnd(Animation arg0) 
{
    LayoutParams params = new LayoutParams( LayoutParams.FILL_PARENT, LayoutParams.WRAP_CONTENT);
    params.topMargin = 200;
    _mylayout.setLayoutParams(params);
    _myAnim.setFillAfter(false);
}
</code></pre>

<p>But nothing happens, because I don't align perfectly the percent into anim android:toYDelta="70%" and params.topMargin = 200;</p>

<p>How do I solve that? thanks</p>
