Android-5 tip about the Toolbar and the Style

Toolbar style and theme.
With the new Toolbar you can apply a style and a theme.
They are different!

The style is local to the Toolbar view, for example the background color.

The app:theme is instead global to all ui elements inflated in the Toolbar, for example the color of the title and icons.

Popular posts from this blog

Expand and collapse animation

Android-5: Card and images with rounded corners in Android 4

How to centralize the support libraries dependencies in gradle