Material Design in Android

Post on 09-May-2015

1.156 views 2 download

description

A small presentation for Material Design

Transcript of Material Design in Android

Murat Can BUR

Material Design in Android

Material design is a comprehensive guide for visual, motion, and interaction design across platforms and devices.

classic principles of good design with the innovation of technology!

● A new theme ● New widgets for complex views ● New APIs for custom shadows and

animations

Android provides the following elements for you to build material design apps:

Let’s start with themes!

There are two Material Theme Dark and Light

● color primary - ActionBar color

● colorPrimaryDark - basically

darker color of actionbar

● textcolorprimary

● windowbackground

● navigationbarcolor

Every Material theme has

UI Widgets

RecyclerView is a more advanced and flexible version of ListView.

RecyclerView

● A layout manager for positioning items

● Default animations for common item operations

RecyclerView

As the name suggests, CardView displays important information in

consistent cards!

CardView

To create a card with a shadow, use the android:elevation attribute

CardView

There is a new player in the game!

Toolbar

Toolbar is fully supported in AppCompat.

Good news!

Some material design features like the material theme and custom activity

transitions are only available on Android 5.0 (API level 21)

Compatibility

compile 'com.android.support:appcompat-v7:21.0.+' compile 'com.android.support:cardview-v7:21.0.+'

compile 'com.android.support:recyclerview-v7:21.0.+'

I hope you understand the Material Desing a bit

more!