I\'ve been messing around with the new APIs in Android 5.0 and have been trying to figure out whether or not it is possible to animate both a ViewGroup and one
ViewGroup
Yes, you can transition a group and its contents separately. But you just found a bug that will be fixed in L MR1.
It appears that this is not well supported in L. I recommend that you make the shared elements siblings in the second Activity: