<?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:XamFormsAddAnimations;assembly=XamFormsAddAnimations"
             x:Class="XamFormsAddAnimations.MainPage">
  <StackLayout>
    <StackLayout VerticalOptions="CenterAndExpand">
      <Image 
        Source="{local:ImageResource XamFormsAddAnimations.yoda-2.png}"
        Aspect="AspectFit" x:Name="image" Opacity="0.0"
        VerticalOptions="Center" HorizontalOptions="Start" />
    </StackLayout>
    <StackLayout Orientation="Horizontal" VerticalOptions="End">
      <Button Text="Animacja" Clicked="OnButtonClicked" HorizontalOptions="FillAndExpand"/>
    </StackLayout>
  </StackLayout>
</ContentPage>