title: Android: button doesn't work after translate animation
body: <p>I have created a button that I want to translate down whenever it is pressed on. I created an xml file in the anim folder to set a downward translation. </p>
  
  <p>The translation works but the button reverts back to its original position when the animation finishes. To counter this problem, I used the code: </p>
  
  <pre><code>translationDown.setFillAfter(true);
  translationDown.setFillEnabled(true);
  </code></pre>
  
  <p>Although the button stayed in its position after it finished the translate animation, it stopped working and won't translate down from that position when it is pressed again.</p>
  
  <p>How can I make the button translate down every time it is pressed?</p>
  
  <p>EDIT:</p>
  
  <p>As requested, here is the code for the translation, which is stored in <code>translate_down.xml</code>:</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"
          android:toYDelta="300"
          android:duration="250"
          /&gt;
  
  &lt;/set&gt;
  </code></pre>
  
  <p>This is the code in my java file:</p>
  
  <pre><code>final Animation slideDown = AnimationUtils.loadAnimation(getApplicationContext(), R.anim.translate_down);
  relativeLayoutButtons.startAnimation(slideDown);
  </code></pre>