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

How to centralize the support libraries dependencies in gradle

AntiPattern: freezing a UI with Broadcast Receiver

NotificationListenerService and kitkat