material design

80
Material Design How get started?

Upload: jackson-f-de-a-mafra

Post on 15-Apr-2017

510 views

Category:

Mobile


2 download

TRANSCRIPT

Page 1: Material design

Material DesignHow get started?

Page 2: Material design

Jacksonfdamhttp://about.me/jacksonfdam

https://bitbucket.org/jacksonfdam

https://github.com/jacksonfdam

http://linkedin.com/in/jacksonfdam

@jacksonfdam

Page 3: Material design

Agenda● Material Design● Material theme● Styles● Layouts● Elevation● Widgets● Animations

Page 4: Material design

Material Design

Page 5: Material design

A brief history of AndroidFrom a design perspective

Page 6: Material design

Oct. 22, 2008T-Mobile G1 is launched

Page 7: Material design

Sep. 15, 2009Density Independent pixels introduced in Donut

Page 8: Material design

Oct. 26, 2009The Droids arrive

Page 9: Material design

Dec. 6, 2010Google acquires Matias Duarte

Page 10: Material design

Feb. 22, 2011Honeycomb showed us a glimpse of what Android would soon look like

Page 11: Material design

Oct. 8, 2011#YOLOHOLO

Page 12: Material design

July 9, 2012Jelly Bean brings actions to notifications, Google Now

Page 13: Material design

Oct. 31, 2013Losing the fat

Page 14: Material design

June 25, 2014Android L Preview

Page 15: Material design

Material Theme

The material theme provides a new style for our app, system widgets that let us set their color

palette, and default animations for touch feedback and activity transitions.

Page 16: Material design

Material Design

● Universal platform design that functions across Android Wear, Android TV, Android Auto, and all of Google’s apps and services

● Making the whole device feel unified ● Its all about everything animation, but flat at the same

time ● Elevation value to any UI surface to get 3D effects by

virtual light sources and real time shadows

Page 17: Material design

Material Theme

● Material Design ● Android RunTime (ART) ● Battery life (Project Volta) ● Security ● Multitasking and Recent App ● Notifications ● Many more...

Page 18: Material design

New WidgetsThe Android L Developer Preview includes two new widgets for displaying complex views: ● The new RecyclerView widget is a More

advanced version of ListView. ● The new CardView widget lets us Important

pieces of information inside Cards that have a consistent look and Feel.

Page 19: Material design

View ShadowsIn addition to the X and Y properties, views in the Android L Developer have a Z property. This new property represents the elevation of a view, which determines: ● The size of the shadow - Views with higher Z

values cast bigger shadows. ● The drawing order - Views with higher Z values

appear on top of other views.

Page 20: Material design

Animations● The Android L Developer provides new APIs

that let us to create custom animations for touch feedback in UI controls, view state changes, and activity transitions.

● Touch feedback animations are built into several standard views such as buttons.

● The new APIs let us customize these animations and add animations to our custom views

Page 21: Material design

AnimationsThe new animation APIs let us: ● Respond to touch events in our views with touch

feedback animations. ● Hide and show views with reveal effect animations. ● Switch between activities with custom activity transition

animations. ● Create more natural animations with curved motion. ● Show animations in state list drawables between view

state changes.

Page 22: Material design

Principles of Material● Design Material is the metaphor : A material

metaphor is the unifying theory of a rationalized space and a system of motion.

● Bold, graphic, intentional : These elements do far more than please the eye; they create hierarchy, meaning, and focus.

● Motion provides meaning : Motion is meaningful and appropriate, serving to focus attention and maintain continuity.

Page 23: Material design

Animation has four contents● Authentic Motion● Responsive Interaction● Meaningful Transitions● Delightful Details

Page 24: Material design

Animation● Authentic Motion

Perceiving an object's tangible form helps us understand how to manipulate it. Observing an object's motion tells us whether it is light or heavy, flexible or rigid, small or large.

● Contents Mass and Weight: Physical objects have mass and move only when forces are applied to them.Objects can’t start or stop instantaneously.

Page 25: Material design

Animation● Responsive Interaction

Responsive interaction builds trust with the user and engages them. It is thoughtful and purposeful, not random, and can be gently whimsical but never distracting.

In material design, apps are responsive to and eager for user input:

● Touch, voice, mouse and keyboard are all first-class input methods ● Although UI elements appear tangible, they are locked behind a layer

of glass

Page 26: Material design

Animation(Responsive Interaction)Surface Reaction One way to express this acknowledgment is through the ink metaphor, the dynamic display surface that coats every sheet of paper.

Page 27: Material design

Animation(Responsive Interaction)● Material Response ● In addition to ink-like actions on the surface, the material itself

can also respond to interaction. ● The material can lift up when touched or clicked, indicating an

active state. ● Material appears from touch point. ● Paper appears from center of screen, breaking relationship with

input.

Page 28: Material design

Animation(Responsive Interaction)Meaningful Transitions ● It can sometimes be difficult for a user to know where to focus

their attention in an app or how an app element got from point A to point B.

● Motion design should not only be beautiful, but serve a functional purpose.

Page 29: Material design

ExamplesVisual Continuity ● Transitioning between two visual states should be smooth,

appear effortless, and above all, provide clarity to the user, not confusion.

A transition has three categories of elements: ● Incoming elements ● Outgoing elements ● Shared elements

Page 30: Material design

Animation(Meaningful Transitions)Hierarchical Timing ● When building a transition, consider both the order in which

elements move and the timing of their movement. ● It Ensure that motion supports the information hierarchy.

Page 31: Material design

Animation(Meaningful Transitions)Consistent Choreography ● As transitioning elements move around the screen. ● They should behave in a coordinated manner.

Page 32: Material design

Animation(Meaningful Transitions)Delightful Details ● Animation can exist within all components of an app and at all

scales, from finely detailed icons to key transitions and actions. ● All elements work together to construct a seamless experience

and a beautiful, functional app.

Page 33: Material design

What were the goals?

Page 34: Material design

…synthesize the classic principles of good design with the innovation and possibility of technology and science…

Page 35: Material design

…single underlying system that allows for a unified experience across all platforms…

Page 36: Material design

…touch, voice, mouse and keyboard are all first-class input methods…

Page 37: Material design

Material Design

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

platforms and devices.

Page 38: Material design

Material Design

What if we could design for materials of the future instead of

materials that we use today? - Matias Duarte”

Page 39: Material design

Material Design

The Android L Developer Preview provided the following elements for you to build material design apps

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

Page 40: Material design

Material Design

What is Android L? - Unnamed version of Android with code named L - Comes packed with over 5000 new developer APIs - New universal design and functionality language - User friendly and attractive navigation concepts - Improved Battery life and Processing

Page 41: Material design

Material Design

What is Android L? - Unnamed version of Android with code named L - Comes packed with over 5000 new developer APIs - New universal design and functionality language - User friendly and attractive navigation concepts - Improved Battery life and Processing

Page 42: Material design

Material Design

What is Android L? Android 5.0 SDK and new Lollipop preview images coming October 17

Page 43: Material design

Material Design

http://www.google.com/nexus/6/

Page 44: Material design

USEFUL Links

Visual language for our users that synthesizes the classic principles of good design with the innovation of technology.

This is material design.

Page 45: Material design

Goals

Page 46: Material design

Material is metaphor

Principles

Graphic Motion provides meaning

Page 47: Material design

Motion animation

Page 48: Material design

Responsive Interaction

Page 49: Material design

USEFUL Links

Meaningful Transitions

Page 50: Material design

USEFUL Links

Delightful Details

Page 51: Material design

USEFUL Links

Style

Page 52: Material design

USEFUL Links

Color Pallete

Page 53: Material design

USEFUL Links

UI Color Application

Page 54: Material design

Typeface Roboto

Page 55: Material design

USEFUL Links

How to use font

Page 56: Material design

Flat design for icons

Page 57: Material design

USEFUL Links

Use more place for image

Page 58: Material design

More real things in material design

Page 59: Material design

Focus on main

Page 60: Material design

No effects for photo

Page 61: Material design

Scale layouts for all devices

Page 62: Material design

USEFUL Links

Metrics

Page 63: Material design

USEFUL Links

Flat and real dynamic design

Page 64: Material design

Material in android

Page 65: Material design

Apply the Material Theme

Page 66: Material design

USEFUL Links

Customize color in theme

Page 67: Material design

• The material theme is only available in the Android L Developer Preview.

Compatibility

• android.support.v7.widget.RecyclerView

• android.support.v7.widget.CardView

Page 68: Material design

USEFUL Links

RecyclerView

Page 69: Material design

• ViewHolder by default

• Layout manager

• ItemAnimator

RecyclerView

Page 70: Material design

RecyclerView example

Page 71: Material design

USEFUL LinksShadows

CardView

Rounded corners

Box for content

Page 72: Material design

USEFUL Links

Pallete

Bitmap

Vibrant color (Normal, Light, Dark)

Muted color (Normal, Light, Dark)

Page 73: Material design

USEFUL Links

Shadows

Page 74: Material design

USEFUL Links

Shadow evaluation

Page 75: Material design

• Touch feedback

Animations

• Reveal effect

• Curved motion• Activity transitions• View state changes

Page 76: Material design

• RippleDrawable class

Touch feedback

• ?android:attr/selectableItemBackground

• android:colorControlHighlight

Page 77: Material design

Touch feedback

Page 78: Material design

Activity transitions

Page 79: Material design

Material design from Google http://www.google.com/design/spec/material-design

Useful links

Material design for androidhttp://developer.android.com/preview/material/index.html

Angular material designhttps://material.angularjs.org/#/

Apps with material designhttp://www.androidauthority.com/best-material-design-apps-for-android-523420/

Page 80: Material design

Thank you.@jacksonfdam