Created
June 1, 2018 02:16
-
-
Save juucustodio/93a782d7b17ae0e6fabc1c9a4039554b to your computer and use it in GitHub Desktop.
Example of how use animations with Lottie in Xamarin.Forms applications - http://julianocustodio.com/lottie
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
<?xml version="1.0" encoding="utf-8" ?> | |
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" | |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
xmlns:local="clr-namespace:DemoLottie" | |
xmlns:forms="clr-namespace:Lottie.Forms;assembly=Lottie.Forms" | |
x:Class="DemoLottie.MainPage"> | |
<StackLayout> | |
<forms:AnimationView | |
x:Name="animationView" | |
Animation="xamarin_logo_2.json" | |
Loop="true" | |
AutoPlay="true" | |
HorizontalOptions="Center" | |
VerticalOptions="CenterAndExpand"/> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment