Slide 1

Slide 1 text

T renaud_mathieu Mastodon & @[email protected] linkedIn & renaudmathieu1 Discovering Material 3 droidcon Berlin 2023

Slide 2

Slide 2 text

Agenda 1. What is a Design System ? 2. A Brief History of Material Design 3. BREAK: Relay 4. Material You

Slide 3

Slide 3 text

What is a Design System?

Slide 4

Slide 4 text

What is a Design System? Design Principles Branding Guidelines Visual Style Guide Component Library Interaction Patterns Documentation

Slide 5

Slide 5 text

Why a Design System?

Slide 6

Slide 6 text

Why not a Design System?

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Take your Shot of Vitamin Gerard Paligot • Booth • 2:35pm

Slide 12

Slide 12 text

A Brief History of Material Design

Slide 13

Slide 13 text

Prequel Ø → Holo A Brief History of Material Design

Slide 14

Slide 14 text

Prequel Ø → Holo Android version 2.3: Gingerbread Android version 4.0: Ice Cream Sandwich Android versions 1.0 to 1.1 A Brief History of Material Design 10 Years of Android Development Julien Salvi • Booth • Friday 11:45am

Slide 15

Slide 15 text

Material 1 h tt ps://m1.material.io/ A Brief History of Material Design

Slide 16

Slide 16 text

Material 1 h tt ps://m1.material.io/ A Brief History of Material Design

Slide 17

Slide 17 text

Material 1 h tt ps://m1.material.io/ A Brief History of Material Design Multiple elevation measurements for two objects

Slide 18

Slide 18 text

Material 1 h tt ps://m1.material.io/ A Brief History of Material Design

Slide 19

Slide 19 text

Material 1 h tt ps://m1.material.io/ A Brief History of Material Design

Slide 20

Slide 20 text

Material 1 h tt ps://m1.material.io/ A Brief History of Material Design

Slide 21

Slide 21 text

Material 1 h tt ps://m1.material.io/ A Brief History of Material Design

Slide 22

Slide 22 text

Material 2 h tt ps://m2.material.io/ A Brief History of Material Design

Slide 23

Slide 23 text

Material 2 h tt ps://m2.material.io/ Colors Typography Shapes A Brief History of Material Design

Slide 24

Slide 24 text

Material 2 h tt ps://m2.material.io/ Colors Typography Shapes A Brief History of Material Design

Slide 25

Slide 25 text

Material 2 h tt ps://m2.material.io/ Colors Typography Shapes A Brief History of Material Design

Slide 26

Slide 26 text

Material 2 h tt ps://m2.material.io/ A Brief History of Material Design

Slide 27

Slide 27 text

Material 3 h tt ps://m3.material.io/ Introducing Material You

Slide 28

Slide 28 text

Material 3 h tt ps://m3.material.io/

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

Figma Account Android Studio Chipmunk or later Jetpack Compose version 1.2 or later Figma Personal Access Token plugins { id("com.android.application") id("org.jetbrains.kotlin.android") id("com.google.relay") version "0.3.06" }

Slide 31

Slide 31 text

DEMO Figma + Android Studio

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

Material 3 h tt ps://m3.material.io/

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

Material 3 h tt ps://m3.material.io/

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

Material 3 h tt ps://m3.material.io/ Colors Icons Motion Elevation Typography Shape

Slide 39

Slide 39 text

Typography

Slide 40

Slide 40 text

Material 3 h tt ps://m3.material.io/ Colors Icons Motion Elevation Typography Shape

Slide 41

Slide 41 text

Shape M2: Three-level shape scale based on the size of the component container M3: Seven-level shape scale based on the roundedness of shape corners

Slide 42

Slide 42 text

Material 3 h tt ps://m3.material.io/ Colors Icons Motion Elevation Typography Shape

Slide 43

Slide 43 text

Icons

Slide 44

Slide 44 text

Material 3 h tt ps://m3.material.io/ Colors Icons Motion Elevation Typography Shape

Slide 45

Slide 45 text

Colors Understanding Color Theming and Color Roles

Slide 46

Slide 46 text

Colors Understanding Color Theming and Color Roles

Slide 47

Slide 47 text

Colors Understanding Color Theming and Color Roles

Slide 48

Slide 48 text

Colors Understanding Color Theming and Color Roles

Slide 49

Slide 49 text

Colors

Slide 50

Slide 50 text

Colors

Slide 51

Slide 51 text

Colors Dynamic Color // Dynamic color is available on Android 12+ val dynamicColor = Build.VERSION.SDK_INT > = Build.VERSION_CODES.S val colors = when { dynamicColor & & darkTheme - > dynamicDarkColorScheme(LocalContext.current) dynamicColor & & !darkTheme - > dynamicLightColorScheme(LocalContext.current) darkTheme - > darkColorScheme else - > lightColorScheme }

Slide 52

Slide 52 text

Material 3 h tt ps://m3.material.io/ Colors Icons Motion Elevation Typography Shape

Slide 53

Slide 53 text

Elevation M2: Shadows applied at all levels M3: Using color instead of shadows to communicate elevation

Slide 54

Slide 54 text

Elevation M2: Shadows applied at all levels M3: Using color instead of shadows to communicate elevation

Slide 55

Slide 55 text

Elevation 1. One su rf ace at 1dp elevation and another su rf ace at 8dp elevation, as viewed from the front 2. The di ff erence in elevation between the two su rf aces is 7dp, as viewed from the side

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

Material 3 h tt ps://m3.material.io/ Colors Icons Motion Elevation Typography Shape Layouts

Slide 59

Slide 59 text

Layouts

Slide 60

Slide 60 text

Layouts

Slide 61

Slide 61 text

Box { if (windowSizeClass.widthSizeClass == Compact) { LayoutForSmall() } else { LayoutForLarge() } } implementation("androidx.compose.material3:material3-window-size-class:1.2.0-alpha03") Layouts

Slide 62

Slide 62 text

Migrating To Material3

Slide 63

Slide 63 text

Migrating To Material3 Phased Migration Add M3 dependency alongside M2 dependency. Add M3 version of your app’s theme alongside M2 version. Migrate individual modules, screens, or composables to M3, depending on the size and complexity of your app. Once fully migrated, remove the M2 version of your app’s theme.

Slide 64

Slide 64 text

Migrating To Material3 Phased Migration Getting your apps ready for M3 Fatih & Odin • Hopper • 9:20pm

Slide 65

Slide 65 text

Conclusion

Slide 66

Slide 66 text

Conclusion

Slide 67

Slide 67 text

Conclusion h tt ps://developer.android.com/reference/kotlin/androidx/compose/material3/package-summary.html

Slide 68

Slide 68 text

Conclusion h tt ps://developer.android.com/reference/kotlin/androidx/compose/material3/package-summary.html

Slide 69

Slide 69 text

Every detail makes the design. Thank You! renaudmathieu.com