public async void VolumeButtonClicked(object sender, EventArgs e) { if (VolumeControl.IsVisible) { VolumeControl.TranslateTo(0, 10, easing: Easing.CubicInOut); await VolumeControl.FadeTo(0, easing : Easing.CubicInOut); VolumeControl.IsVisible = false; } else { VolumeControl.IsVisible = true; VolumeControl.TranslateTo(0, -10, easing: Easing.CubicInOut); await VolumeControl.FadeTo(1, easing : Easing.CubicInOut); } }