List of usage examples for android.animation ValueAnimator ofArgb
public static ValueAnimator ofArgb(int... values)
From source file:com.yoloo.android.util.AnimUtils.java
public static ValueAnimator ofArgb(int... values) { if (VersionUtil.hasL()) { return ValueAnimator.ofArgb(values); } else {/* w w w .j av a 2 s. c o m*/ ValueAnimator anim = new ValueAnimator(); anim.setIntValues(values); anim.setEvaluator(AnimUtils.getArgbEvaluator()); return anim; } }