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;
        }
Exemplo n.º 2
0
        async Task OpenDrawer()
        {
            await Task.WhenAll
            (
                Backdrop.FadeTo(1, length: duration),
                BottomToolbar.TranslateTo(0, openY, length: duration, easing: Easing.SinIn)
            );

            Backdrop.InputTransparent = false;
        }
Exemplo n.º 3
0
        async Task CloseDrawer()
        {
            await Task.WhenAll
            (
                Backdrop.FadeTo(0, length: duration),
                BottomToolbar.TranslateTo(0, 260, length: duration, easing: Easing.SinIn)
            );

            Backdrop.InputTransparent = true;
        }