setHideOnContentScrollEnabled
Enable hiding the action bar on content scroll.
If enabled, the action bar will scroll out of sight along with a nested scrolling child view's content. The action bar must be in overlay mode to enable hiding on content scroll.
When partially scrolled off screen the action bar is considered hidden. A call to show will cause it to return to full view.
Parameters
hideOnContentScroll
true to enable hiding on content scroll.