title: Programmatically adding animation effect to a (programmatically added) popupWindow in android
body: <p>So, I have a programmatically added PopupWindow which looks like this: </p>
  
  <pre><code>        dialog = new PopupWindow(context);
          dialog.setContentView(ll);
          dialog.showAtLocation(view, Gravity.LEFT | Gravity.TOP, -70, 0);
          dialog.setWidth(w);
          dialog.setHeight(h - 50);
          dialog.setOutsideTouchable(true);
          //The dialog.update is somewhere else, I didn't bother adding it too as it is not important for this matter (I guess)
  </code></pre>
  
  <p>What I want to do is to have some sort of animation effect , like it pops right from the button I press so the popup appears. (this is just an example, I just want any sort of animation).</p>
  
  <p>Documentation would be ok too, as long as it is not XML based (I found those already -not really helping me).</p>
  
  <p>If other details are needed ,I will comment or edit the question.</p>