Material Design in Android

18
Murat Can BUR

description

A small presentation for Material Design

Transcript of Material Design in Android

Page 1: Material Design in Android

Murat Can BUR

Page 2: Material Design in Android

Material Design in Android

Page 3: Material Design in Android

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

Page 4: Material Design in Android

classic principles of good design with the innovation of technology!

Page 5: Material Design in Android

● 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:

Page 6: Material Design in Android

Let’s start with themes!

Page 7: Material Design in Android

There are two Material Theme Dark and Light

Page 8: Material Design in Android

● color primary - ActionBar color

● colorPrimaryDark - basically

darker color of actionbar

● textcolorprimary

● windowbackground

● navigationbarcolor

Every Material theme has

Page 9: Material Design in Android

UI Widgets

Page 10: Material Design in Android

RecyclerView is a more advanced and flexible version of ListView.

RecyclerView

Page 11: Material Design in Android

● A layout manager for positioning items

● Default animations for common item operations

RecyclerView

Page 12: Material Design in Android

As the name suggests, CardView displays important information in

consistent cards!

CardView

Page 13: Material Design in Android

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

CardView

Page 14: Material Design in Android

There is a new player in the game!

Toolbar

Page 15: Material Design in Android

Toolbar is fully supported in AppCompat.

Good news!

Page 16: Material Design in Android

Some material design features like the material theme and custom activity

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

Compatibility

Page 17: Material Design in Android

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

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

Page 18: Material Design in Android

I hope you understand the Material Desing a bit

more!