is there any way to create one animation with ObjectAnimator to change the background of a View with a crossfade animation?
Something like
ObjectAnimator.ofObject(<myView.background>, <crossfade or fade in -fade out>, <resources_1>, <resources_2>);
I know I can do a fade out of one image, set a listener to detect the end of the animation, and fade in the other image. I'd just like to know if there's a more elegant way...
Thanks