Android Lollipop Toolbar vs Custom view
I just read about the new Toolbar in Android Lollipop. It inherits from ViewGroup. Why are the advantages of using the new Toolbar over, say, a LinearLayout to place your own views? Explanation: You should start using a ToolBar instead of the ActionBar . This is directly taken from the Android Developer documentation. It allows more flexibility than the normal ActionBar ; however, retains some the more prominent features such as adding a Logo , supports "up" Navigation , inflating menus and actionviews such as the SearchView. Tutorials: Implement yourself(by Chris Banes) Collapsing Toolbar,