Created
January 27, 2015 12:46
-
-
Save kanytu/0868e15a9d3ace9c4922 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ValueAnimator animator = ValueAnimator.ofObject(new ArgbEvaluator(), 0x7fffffff, 0x00ffffff); | |
animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { | |
@Override | |
public void onAnimationUpdate(ValueAnimator animation) { | |
wrapper.getImageView().setColorFilter((Integer) animation.getAnimatedValue()); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment