title: java animation android duration
body: <p>This animation isn't animating it just instantly disappears no matter what duration I set
  here is the java code and xml</p>
  
  <p>Java Code:</p>
  
  <pre><code>Animation shrink =AnimationUtils.loadAnimation(Page.this, R.anim.shrink);
      deleteMe.startAnimation(shrink);
  </code></pre>
  
  <p>XML File:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"
      android:fillAfter="true" 
      android:shareInterpolator="true"
      android:interpolator="@android:anim/linear_interpolator"
      android:duration="10000"&gt;
      &lt;scale
          android:duration="10000"
          android:fillAfter="true"
          android:fromXScale="1.0"
          android:toXScale="0" &gt;
      &lt;/scale&gt;
      &lt;alpha
          android:duration="10000"
          android:fromAlpha="1.0"
          android:toAlpha="0"&gt;
      &lt;/alpha&gt;
  &lt;/set&gt;
  </code></pre>