You can use easing functions like Easing.Linear,
Easing.SinInOut,
etc., to control the acceleration and deceleration of animations. For example:
C#
async void OnAnimateClicked(object sender, EventArgs e)
{
//whenever the button is clicked
await EasingAnimation(animatedLabel);
}
async Task EasingAnimation(View view)
{
await view.ScaleTo(1.2, 500, Easing.BounceOut);
}
Share with