【问题标题】:How to implement connected animation in Xamarin.Forms?如何在 Xamarin.Forms 中实现连接动画?
【发布时间】:2018-12-27 10:09:43
【问题描述】:

在 UWP 中,您可以在页面导航上创建出色的转换:

https://docs.microsoft.com/en-us/windows/uwp/design/motion/connected-animation

即使颤振也有类似的东西: https://flutter.dev/docs/development/ui/animations/hero-animations

我们如何在 Xamarin 上创建这样的东西?

【问题讨论】:

标签: xaml xamarin uwp


【解决方案1】:

你的意思是不是类似这样的:

共享元素过渡是将公共元素从一个页面连接到另一个页面的动画。 共享元素转换决定了两个页面中存在的元素如何在它们之间转换。例如,在页面 A 和页面 B 上都显示的图像,当 B 变得可见时,会从 A 过渡到 B。

这是此 [1] xamarin 插件的描述,也可在此处获得 [2]。

我在这里找到它 [3]。

来源:

[1]https://github.com/GiampaoloGabba/Xamarin.Plugin.SharedTransitions

[2]https://www.nuget.org/packages/Xamarin.Plugin.SharedTransitions/

[3]Transition animation for Android using Xamarin Forms

【讨论】:

  • 谢谢!正是我想要的。我希望我能给你更多的积分:)
猜你喜欢
  • 2015-12-16
  • 1970-01-01
  • 2016-11-07
  • 1970-01-01
  • 1970-01-01
  • 2020-08-14
  • 2023-04-02
  • 2021-07-17
  • 1970-01-01
相关资源
最近更新 更多