What is the difference between AppBarLayout vs Toolbar?

Aleckson Nyamwaya picture Aleckson Nyamwaya · Jul 9, 2015 · Viewed 46.5k times · Source

I want to include Toolbar in my app, but the design support library just came out with AppBarLayout, so I just need clarification on what the difference is and when I would use one over the other.

Answer

Sergey  Pekar picture Sergey Pekar · Jan 17, 2017

If you want just to include the Toolbar without any scrolling effects you can use Toolbar. But if you want to make some scrolling effects like on the images you need to use AppBarLayout.enter image description here enter image description here

More here and here.