Glitch when animating nested views in a shared element Activity transition?

后端 未结 1 684
后悔当初
后悔当初 2020-12-30 07:47

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

1条回答
  •  渐次进展
    2020-12-30 08:07

    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:

    
    
        
    
        
    
            
        
    
    

    0 讨论(0)
提交回复
热议问题