<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="TestProject.MainPage"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
<ContentPage.Resources>
<LayoutOptions x:Key="HorizontalOptionsKey" Alignment="Center" />
<LayoutOptions x:Key="VerticalOptionsKey" Alignment="Center" />
<x:Double x:Key="BorderWidthKey">3</x:Double>
<x:Double x:Key="RotationAngleKey">-15</x:Double>
<x:Double x:Key="FontSizeKey">24</x:Double>
<OnPlatform x:Key="TextColorKey" x:TypeArguments="Color">
<On Platform="iOS" Value="Red" />
<On Platform="Android" Value="Aqua" />
<On Platform="UWP" Value="#80ff80" />
</OnPlatform>
</ContentPage.Resources>
<StackLayout
HorizontalOptions="Center"
VerticalOptions="Center">
<Button
HorizontalOptions="{StaticResource HorizontalOptionsKey}"
VerticalOptions="{StaticResource VerticalOptionsKey}"
Rotation="{StaticResource RotationAngleKey}"
BorderWidth="{StaticResource BorderWidthKey}"
FontSize="{StaticResource FontSizeKey}"
TextColor="{StaticResource TextColorKey}"
Text="Do this!" />
<Button
Margin="0,10,0,0"
HorizontalOptions="{StaticResource HorizontalOptionsKey}"
VerticalOptions="{StaticResource VerticalOptionsKey}"
Rotation="{StaticResource RotationAngleKey}"
BorderWidth="{StaticResource BorderWidthKey}"
FontSize="{StaticResource FontSizeKey}"
TextColor="{StaticResource TextColorKey}"
Text="Do that!" />
<Button
Margin="0,10,0,0"
HorizontalOptions="{StaticResource HorizontalOptionsKey}"
VerticalOptions="{StaticResource VerticalOptionsKey}"
Rotation="{StaticResource RotationAngleKey}"
BorderWidth="{StaticResource BorderWidthKey}"
FontSize="{StaticResource FontSizeKey}"
TextColor="{StaticResource TextColorKey}"
Text="Do the other thing!" />
</StackLayout>
</ContentPage>