In this example I've tried to replicate the profile animation of Hangouts 4.0to show how a CoordinatorLayout.Behavior could be used
Hangouts 4.0
CoordinatorLayout.Behavior