Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Created June 25, 2018 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juucustodio/bd4305e21e8d8084e9a6d5977b2e6d23 to your computer and use it in GitHub Desktop.
Save juucustodio/bd4305e21e8d8084e9a6d5977b2e6d23 to your computer and use it in GitHub Desktop.
Example of how to implement animations in Xamarin.Forms applications - http://julianocustodio.com/animations
<ContentPage.Resources>
<ResourceDictionary>
<xamanimation:StoryBoard
x:Key="LogoAnimation"
Target="{x:Reference Logo}">
<xamanimation:TranslateToAnimation TranslateY="180" TranslateX="95" Duration="750" />
<xamanimation:TranslateToAnimation TranslateY="-180" TranslateX="-95" Duration="750" />
<xamanimation:TranslateToAnimation TranslateY="0" TranslateX="0" Duration="750" />
</xamanimation:StoryBoard>
</ResourceDictionary>
</ContentPage.Resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment