Last active
June 25, 2018 00:59
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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