You can create a bounce animation by changing the scale of an element. Here’s an example:
C#
async void OnAnimateClicked(object sender, EventArgs e)
{
//whenever the button is clicked
await BounceAnimation(animatedLabel);
}
async Task BounceAnimation(View view)
{
await view.ScaleTo(1.2, 250);
await view.ScaleTo(1, 250);
}
Share with