

Use a Toolbar as an Action Bar when you want to use the existing ActionBar facilities (such as menu inflation and selection, ActionBarDrawerToggle, and so on) but want to have more control over its appearance.In AppCompat, Toolbar is implemented in the class.ura However, Android has updated the AppCompat support libraries so the Toolbar can be used on lower Android OS devices as well. Toolbar works well with apps targeted to API 21 and above. Toolbar's appearance and behavior can be more easily customized than the ActionBar.

It's a ViewGroup that can be placed anywhere in your XML layouts. Toolbar was introduced in Android Lollipop, API 21 release and is the spiritual successor of the ActionBar.
