在需要共享的Fragment布局的View中添加
android:transitionName
然后调用
FragmentTransaction.addSharedElement(View view, String transitionName)
来map a View from a removed or hidden Fragment to a View from a shown or added Fragment.
在需要共享的Fragment布局的View中添加
android:transitionName
然后调用
FragmentTransaction.addSharedElement(View view, String transitionName)
来map a View from a removed or hidden Fragment to a View from a shown or added Fragment.