title: NineOldAndroids: set view pivot
body: <p>I'm using the wonderful framework NineOldAndroids, but I can't find anything to set the pivot on my animated views. Specifically, I'm trying to do a <code>scaleX</code> + <code>scaleY</code> animation with a pivot on the top-left edge, so <code>pivotX</code> = 0 and <code>pivotY</code> = 0. On Honeycomb and beyond I would just set <code>myView.setPivotX(0)</code> and <code>myView.setPivotY(0)</code>, but how to do it for pre-Honeycomb devices with NineOldAndroids? I tried the following:</p>
  
  <pre><code>AnimatorSet set = new AnimatorSet();
  set.playTogether(
      ObjectAnimator.ofFloat(myView, "pivotX", -(myView.getWidth() / 2), -(myView.getWidth() / 2)),
      ObjectAnimator.ofFloat(myView, "pivotY", -(myView.getHeight() / 2), -(myView.getHeight() / 2)),
      ObjectAnimator.ofFloat(myView, "scaleX", 0, 1),
      ObjectAnimator.ofFloat(myView, "scaleY", 0, 1),
      ObjectAnimator.ofFloat(myView, "alpha", 0, 1)
  );
  set.setDuration(1000).start();
  </code></pre>
  
  <p>but it doesn't work, the pivot stays at the center of the view.</p>
  
  <p>Can you help me please?</p>
  
  <p>Thanks ;)</p>