Slide up Animation using ObjectAnimator
<p>I am trying to use ObjectAnimator for slide up translate animation because,  as we know onclicklistener won't work if we use normal translation animation like this,</p>

<pre class="lang-xml prettyprint-override"><code>&lt;translate
    android:duration="1000"
    android:fromYDelta="100%"
    android:toYDelta="10%" /&gt;
</code></pre>

<p>The above xml code works fine but as I said before onclicklistener not working after animation. 
I tried ObjectAnimator like the below one </p>

<pre class="lang-java prettyprint-override"><code>ObjectAnimator mover = ObjectAnimator.ofFloat(filterLayout, "translationY", 1.0f, 0.1f);
mover.start();
</code></pre>

<p>But it doesn't give the same result as translate xml does.</p>

<p>Any help would be appreciated. </p>