Exemplo n.º 1
0
        private void hideViews()
        {
            mToolbar.Animate().TranslationY(-mToolbar.Height).SetInterpolator(new AccelerateInterpolator(2));

            FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams)mBottomCardView.LayoutParameters;
            int fabBottomMargin         = lp.BottomMargin;

            mBottomCardView.Animate().TranslationY(mBottomCardView.Height + fabBottomMargin).SetInterpolator(new AccelerateInterpolator(2)).Start();
        }