title: PopupWindow animation not working
body: <p>I has a nice PopupWindow which I want to appear with an animation. I do it like this:</p>
  
  <pre><code>popup.setAnimationStyle(R.anim.appear);
  popup.showAtLocation(popupMenuLayout, gravity, offsetX, offsetY);
  </code></pre>
  
  <p>I then set up a listener for changing the animation:</p>
  
  <pre><code>popup.setOnDismissListener(new PopupWindow.OnDismissListener(){
   @Override
   public void onDismiss(){
    popup.setAnimationStyle(R.anim.disappear);
   }      
  }); 
  </code></pre>
  
  <p>But, hey, it won't work. Neither for res/anim/appear:</p>
  
  <pre><code>&lt;translate xmlns:android="http://schemas.android.com/apk/res/android"
   android:fromYDelta="100%"
   android:toYDelta="0"
   android:duration="1000" 
  /&gt;
  </code></pre>
  
  <p>Nor for res/anim/disappear:</p>
  
  <pre><code>&lt;translate xmlns:android="http://schemas.android.com/apk/res/android"
   android:fromYDelta="0"
   android:toYDelta="100%"
   android:duration="1000"
  /&gt;
  </code></pre>
  
  <p>Any clues?</p>