Android 5.0 Lollipop introduces Material design language for dynamic colors and print-like design. It is based on the principles of printing design to create clean, simple layouts that put your content front and center. Bold deliberate color choices, white spaces, and elegant typography to create hierarchy, meaning and focus.

Font and Typography

Android 5.0 uses font Roboto to display text no matter the display size. A new medium weight has been added (android:fontFamily=”sans-serif-medium”) and new TextAppearance styles implement the typographic scale for balancing content density and reading comfort. For instance you can easily use the ‘Title’ style by setting


These styles are also available on older platforms through the AppCompat support library, e.g. “@style/TextAppearance.AppCompat.Title”.

Dynamic Colors

Color palette of applications brings a whole new look and feel of the android apps particularly brings the branding and personality. Following theme attributes have been added in Android Lollipop:

colorPrimary The primary branding color for the app; used as the action bar background, recents task title and in edge effects.

colorAccent Vibrant complement to the primary branding color. Applied to framework controls such as EditText and Switch.

colorPrimaryDark Darker variant of the primary branding color; applied to the status bar.

The real thrill of Material Design is that it brings dynamic use of color, especially when you have multiple images to work with. The new Palette support library lets you extract a small set of colors from an image to style your UI controls to match. That creates a whole new experience. An example below demonstrates that how it is done:

bitmap, new Palette.PaletteAsyncListener() 
  public void onGenerated(Palette palette) {
    Palette.Swatch vibrant = palette.getVibrantSwatch();
    if (swatch != null) {
      // If we have a vibrant color update the title TextView

Read further about implementing material design in your android app

Tagged with: AndroidSource Code

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Related News Feeds

Set your Twitter account name in your settings to use the TwitterBar Section.