ObjectAnimator构造参数第二个值

  1. //1、透明度:alpha
  2. public void setAlpha(float alpha)
  3. //2、旋转度数:rotation(围绕z轴旋转)、rotationX、rotationY
  4. public void setRotation(float rotation)
  5. public void setRotationX(float rotationX)
  6. public void setRotationY(float rotationY)
  7. //3、平移:translationX、translationY
  8. public void setTranslationX(float translationX)
  9. public void setTranslationY(float translationY)
  10. //4、缩放:scaleX、scaleY
  11. public void setScaleX(float scaleX)
  12. public void setScaleY(float scaleY)

    推荐阅读