private async Task OpenDrawer() { await Task.WhenAll(Backdrop.FadeTo(1, duration), BottomToolbar.TranslateTo(0, 0, duration, Easing.SinIn), ToolbarWrapper.TranslateTo(0, openY, duration, Easing.SinIn)); Backdrop.InputTransparent = false; }
private async Task CloseDrawer() { await Task.WhenAll(Backdrop.FadeTo(0, duration), ToolbarWrapper.TranslateTo(0, 260, duration, Easing.SinIn)); BottomToolbar.TranslationY = 0; Backdrop.InputTransparent = true; }