SyntaxFix
Write A Post
Hire A Developer
Questions
For hiding the toolbar you can just do :
getSupportActionBar().hide();
So you just have to had a scroll listener and hide the toolbar when the user scroll !