android: Animate color change from color to color
Assuming I have two colors, and I need to create a real time animation
that fastly switches from a color to another.
I tried just to increment the color hexadecimal until I reach the other,
but that gave a really bad animation as it showed lots of unrelated
colors.
I am using setColorFilter(color, colorfilter) to change the color of an
imageview.
Changing the HUE will give me the best visual results? If so, how can I
change it for a solid color?
No comments:
Post a Comment