【发布时间】:2015-03-19 06:15:00
【问题描述】:
我一直在尝试使用 android 网站上显示的示例在多个共享元素上实现动画过渡
ActivityOptions options = ActivityOptions.makeSceneTransitionAnimation(this,
Pair.create(view1, "agreedName1"),
Pair.create(view2, "agreedName2"));
但是当我尝试在 Eclipse IDE 中的示例应用程序上实现此代码时,它会显示
The method makeSceneTransitionAnimation(Activity, View, String) in the type ActivityOptions is not applicable for the arguments (MyActivity, Pair<View,String>, Pair<View,String>)
我可以在那里使用一些帮助。谢谢。
【问题讨论】:
标签: android material-design android-transitions