CollapsingToolbarLayout is a wrapper for Toolbar that provides several visual effects that are bind to the content scroll events.
CollapsingToolbarLayout is a ViewGroup that serves as a wrapper for Toolbar providing several visual effects to it. The class is part of the  android-support-design library.
android-support-design library.
The effects provided by the class include
- Collapsing title
- Content scrim
- Status bar scrim
- Parallax scrolling children
- Pinned position children
For the correct behavior the CollapsingToolbarLayout has to be direct child of AppBarLayout placed within a CoordinatorLayout that contains a vertically scrollable View with app:layout_behavior parameter specified. The effects are bind to the vertical scrolling of this View.
For more information visit class reference or the Android developers blog.
 
     
     
     
     
     
     
     
     
     
     
     
    