Transcript
Page 1: Material design in android lollipop

Material Design

Tushar Choudhary

Page 2: Material design in android lollipop

Agenda

Why, How & What.Principles.APIs.Example apps & demo.

Page 3: Material design in android lollipop

WHAT, WHY & HOW

Page 4: Material design in android lollipop

The situation

Device VarietyBrandingUsability

Development & Design effort

Page 5: Material design in android lollipop

Variety

Page 6: Material design in android lollipop

Branding & Usability

Page 7: Material design in android lollipop

Development Effort

Page 8: Material design in android lollipop

Enter … Material Design

Page 10: Material design in android lollipop

Principles

Page 11: Material design in android lollipop

1.Material is the metaphor

Page 12: Material design in android lollipop

A material metaphor is the unifying theory of a rationalized space and a system of motion. The material is grounded in tactile reality, inspired by the study of paper and ink, yet technologically advanced and open to imagination and magic.

Page 13: Material design in android lollipop

Surfaces & shadows [cues]

Light, surfaces, movement[convey]

Real but not restricted

Page 14: Material design in android lollipop
Page 15: Material design in android lollipop

1.Bold, graphic, intentional

Page 16: Material design in android lollipop

Bold, graphic, intentional

ColorSpaceTypographyImageryLayout

Page 17: Material design in android lollipop

Color

Page 18: Material design in android lollipop

Color

Page 19: Material design in android lollipop

Typography

Page 20: Material design in android lollipop

Icons

bold, symmetrical - geomteric

Page 21: Material design in android lollipop

Establish themes

Do far more than please the eye.

Make core functionality immediately apparent , way points for the user.

Graphic interface that immerses the user in the experience

Page 22: Material design in android lollipop

3.Motion provides meaning

Page 23: Material design in android lollipop

Motion provides meaning

Don’t break the continuity of UX

Reinforces the user as the prime mover

Serving to focus attention

Page 24: Material design in android lollipop

Animations

Authentic Motion

Responsive Interactions

Meaningful Interactions

Delightful Details

Page 25: Material design in android lollipop

Authentic motionResponsive Interaction

Page 26: Material design in android lollipop

Delightful details

Meaningful interactions

Page 27: Material design in android lollipop

APIs

Page 28: Material design in android lollipop

Api : material theme

<!-- res/values/styles.xml -->

<resources>

<!-- your app's theme inherits from the Material theme

-->

<style name="AppTheme"

parent="android:Theme.Material">

<!-- theme customizations -->

</style>

</resources>

Page 29: Material design in android lollipop

Defining additional styles to theme

Baseline grids

Keylines

Spacing

Touch target size

Layout structure

Page 30: Material design in android lollipop

Api : UI widgets

Recycler View

Card View

Page 31: Material design in android lollipop

Using the new widgets

<android.support.v7.widget.CardView

android:id="@+id/card_view"

android:layout_width="200dp"

android:layout_height="200dp"

card_view:cardCornerRadius="3dp">

...

</android.support.v7.widget.CardView>

Page 32: Material design in android lollipop

Api: Surfaces & Shadows

<TextView

android:id="@+id/my_textview"

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:text="@string/next"

android:background="@color/white"

android:elevation="5dp" />

Page 33: Material design in android lollipop

Api: Animations

Activities (transitions)Views (entry, exit , shared)

Touch feed backReveal animationsPath based Animations

Page 34: Material design in android lollipop

// inside your activity

getWindow().requestFeature(Window.FEATURE_CONTENT_TRANSITIONS);

// set an exit transition

getWindow().setExitTransition(new Explode());

Page 35: Material design in android lollipop

Ditto it...discreetly

TopekaCalculatorWallyGoogle+

Page 36: Material design in android lollipop

Take away

Guidelines.Lean on the framework.

Material Application = Design impl + Framework APIs

Page 37: Material design in android lollipop

Look forward to.

Android LJSBranding

Page 38: Material design in android lollipop

Resources

design/specDesignBytes

Page 39: Material design in android lollipop

Thank You.