I\'ve been working on this problem for weeks and I\'m still unable to solve this problem.
So, I have a CardView that contains a LinearLayout with an ImageView.
Based on Ovidiu's answer, here is a working transition which can animate the corners
https://gist.github.com/StefanDeBruijn/d45807d386af0e066a03186fe00366e8
This can either be added programatically to the enter shared transition set or through xml:
Don't forget to add to your attrs.xml: