Hide/Show Toolbar when scroll on a simple view Android

by Nick   Last Updated April 26, 2018 09:11 AM

Im trying to hide and show Toolbar animated. Im using the


which listens the scroll gestures. When scroll down


gets executed and when scroll up.

This hides and shows but without animation. I try to use th

toolbar.animate().translationY(-toolbar.getBottom()).setInterpolator(new AccelerateInterpolator()).start();

but it doesnt work.

Related Questions

Unable to create JSONObject error

Updated March 19, 2017 11:11 AM

Conditions for crashing my android application

Updated May 19, 2017 03:11 AM

Android Sound Library

Updated May 12, 2017 18:11 PM