Use ChangeBounds, not ChangeImageTransform

Android 5.0 (Lollipop) introduced shared element transitions, allowing apps to share a View between multiple Activities and define a transition between them.

You can define your transitions in XML. There is a transform called ChangeImageTransform which captures an ImageView’s matrix and animates it during the transition. This will not work in Fresco, which has its own set of matrices to scale with.

Fortunately there is an easy workaround. Just use the ChangeBounds transition instead. This animates the changes in the layout bounds. Fresco will automatically adjust the scaling matrix as you update the bounds, so your animation will appear exactly as you want it.