Skip to content

Instantly share code, notes, and snippets.

@juucustodio
Last active June 25, 2018 00:59
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/3f4933c2867450727caa6bc292945b6c to your computer and use it in GitHub Desktop.
Save juucustodio/3f4933c2867450727caa6bc292945b6c to your computer and use it in GitHub Desktop.
Example of how to implement animations in Xamarin.Forms applications - http://julianocustodio.com/animations
<ContentPage.Content>
<StackLayout>
<Image x:Name="Logo" Source="logo.png" VerticalOptions="CenterAndExpand"/>
<Button Text="Start Animation" VerticalOptions="End">
<Button.Triggers>
<EventTrigger Event="Clicked">
<xamanimation:BeginAnimation Animation="{StaticResource LogoAnimation}" />
</EventTrigger>
</Button.Triggers>
</Button>
</StackLayout>
</ContentPage.Content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment