Skip to content

Instantly share code, notes, and snippets.

@15mgm15
Last active December 23, 2022 21:22
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 15mgm15/1f21898511ba536e9c0db8d490509e84 to your computer and use it in GitHub Desktop.
Save 15mgm15/1f21898511ba536e9c0db8d490509e84 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8" ?>
<mopups:PopupPage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="SpotifyPlayer.Views.Toast"
xmlns:mopups="clr-namespace:Mopups.Pages;assembly=Mopups"
xmlns:animations="clr-namespace:Mopups.Animations;assembly=Mopups"
HeightRequest="48">
<mopups:PopupPage.Animation>
<animations:MoveAnimation
DurationIn="1400"
DurationOut="1400"
PositionIn="Bottom"
PositionOut="Bottom"
EasingOut="SinOut"
EasingIn="SinIn"
HasBackgroundAnimation="True"/>
</mopups:PopupPage.Animation>
<Grid
HeightRequest="48"
VerticalOptions="End"
HorizontalOptions="FillAndExpand"
BackgroundColor="#323232"
Padding="24,0">
<Label
x:Name="TextLbl"
HeightRequest="48"
VerticalTextAlignment="Center"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
FontSize="Default"
TextColor="White"
Text="This is a test message."/>
</Grid>
</mopups:PopupPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment