title: Android Animation on API 8
body: <p>problem in this code ?</p>
  
  <p>its work on android 4 successfully ! but don't work on 2.2 !</p>
  
  <p>i use nineoldandroids library for android API 8</p>
  
  <pre><code> if(Build.VERSION.SDK_INT &gt; 13) {
        v.setTranslationX(0.0F);
        v.setTranslationY(height);
        v.setRotationX(45.0F);
        v.setScaleX(0.7F);
        v.setScaleY(0.55F);
        ViewPropertyAnimator localViewPropertyAnimator =
                v.animate().rotationX(0.0F).rotationY(0.0F).translationX(0).translationY(0).setDuration(animDuration).scaleX(
                    1.0F).scaleY(1.0F).setInterpolator(interpolator);
  
            localViewPropertyAnimator.setStartDelay(0).start();
       } else {
  
          com.nineoldandroids.view.ViewPropertyAnimator.animate(v).translationX(0.0F).translationY(height)
          .rotationX(45.0F).scaleX(0.7F).scaleY(0.55F);
          com.nineoldandroids.view.ViewPropertyAnimator.animate(v).setStartDelay(0).start();
  
  
          com.nineoldandroids.view.ViewPropertyAnimator.animate(v).rotationX(0.0F).rotationY(0.0F).translationX(0).translationY(0).setDuration(animDuration).scaleX(
                      1.0F).scaleY(1.0F).setInterpolator(interpolator);
          com.nineoldandroids.view.ViewPropertyAnimator.animate(v).setStartDelay(animDuration).start();
  
  
       }
  </code></pre>
  
  <p>sorry for bad english !</p>
  
  <p>tnx to all
  -------------------------------EDIT-----------------------------</p>
  
  <p>code executed right on android 2.2  but not like android 4 !</p>