Animate ImageView between two activities using shared element transitions with ChangeImageTransform
I am trying to animate one ImageView to another position between two activities in Android API level 21. Since "MoveImage" in Android L Preview has been removed, I use " ChangeImageTransform " instead, but the sample code in documents doesn't work out (the two images animated separately). <transitionSet xmlns:android="http://schemas.android.com/apk/res/android"> <changeImageTransform> <targets> <target android:targetId="@id/ivA" /> <target android:targetId="@id/ivB" /> </targets> </changeImageTransform> </transitionSet> Is there any working example? Thanks! To make a screen transition