android wrap toolbar with appbarlayout

Android AppBarLayout And Toolbar Example

android.support.design.widget.AppBarLayout is used to wrap android.support.v7.widget.Toolbar component. It can make Toolbar to avoid overlapped by ListView or RecyclerView controls in the screen.