Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Let's use Material Theming
Search
Nabe
February 15, 2019
Design
1.5k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Let's use Material Theming
https://mobileact.connpass.com/event/114158/
Nabe
February 15, 2019
More Decks by Nabe
See All by Nabe
カクヨムAndroidアプリのリブート
numeroanddev
0
650
GraphicsLayerのBitmap作成
numeroanddev
0
240
GraphQLとGigaViewer for Apps
numeroanddev
4
4.6k
Android アプリのプロジェクトをモダンにし続ける工夫
numeroanddev
1
780
Material 3で Material 2ぽい見た目にする
numeroanddev
2
670
Google I/O 2023 の 個人的おすすめセッションの紹介 / Introducing interesting sessions at Google IO 2023
numeroanddev
1
500
Jetpack ComposeのTalkback対応/Improve Talkback in Jetpack Compose
numeroanddev
0
590
Baseline Profilesでアプリのパフォーマンスを向上させる / Improve app performance with Baseline Profiles
numeroanddev
0
1k
Jetpack Composeでアプリを開発して遭遇した問題
numeroanddev
0
760
Other Decks in Design
See All in Design
大企業インハウスデザイン組織における DesignOps改革の現在地 / DesignOps at Scale: Navigating Transformation in Large Enterprises
nttcom
0
730
文化のデザイン - Soft Impact of Design
atsushihomma
0
210
セブンデックス プロジェクト事例 / innovation Scenes
sevendex
1
1.1k
Figma MCPを活用するためのデザインハンドブック
vivion
7
19k
設計と制作 意図を形に表す / Design and Making: Intent Made Form
usagimaru
3
1.9k
CREATIVE CLASS受講課題|無印良品を題材としたブランド再構築について
happy_ferret153
0
940
2026の目標「もっと定量的に事業、会社へ貢献する!」
yuri_ohashi
0
850
20251217リビングラボ・トークin尼崎(尼崎おせっかい会議&オトナテラコヤ)
a2k
0
140
Storyboard Exercise: Chase Sequence
lynteo
1
320
研修担当者が一番伸びた 熊本市役所✕AI『泥臭いAI研修』のワークショップ設計について
garyuten
2
410
「見せる」登壇資料デザインの極意
takanorip
4
1.1k
AI時代に必要な アイデアの形
uxman
0
210
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.9k
Amusing Abliteration
ianozsvald
1
210
WENDY [Excerpt]
tessaabrams
11
38k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Rails Girls Zürich Keynote
gr2m
96
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
330
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2k
Design in an AI World
tapps
1
250
Designing Experiences People Love
moore
143
24k
Transcript
Let's use Material Theming 2019/02/15 MobileAct OSAKA #8 Kazuki Watanabe
Profile ・なべ Twitter : @NabeCott GitHub : NUmeroAndDev ・Fenrir Inc.
・Android アプリ開発
話すこと ・Material Design と Material Theming について基本的なこと を話します ・Android を参考に
Material Theming を使うとどのようになる のか紹介しますが、細かな実装の話はしません ・知ってる人もそうでない人も Material Design に興味を持って もらえたら嬉しいです
Material Design について
Material Design とは? ・Google のデザインシステム ・Android 用のデザイン クロスプラットフォーム向け
Material Theming について
Material Theming とは? ・Material Design をカスタマイズしてアプリの個性や世界観を 出そう ・属性(Color、Shape、Typography)を決めることでプロジェクト のテーマが作れる
Material Theming の属性 ・Color ・Shape ・Typography
Color
Shape
Typography
Material Theming を使ってみよう
以前の Material Design
Color Theming の適用 <color name="colorPrimary">#008577</color> <color name="colorPrimaryVariant">#00574B</color> <color name="colorSecondary">#03DAC6</color> <color
name="colorSecondaryVariant">#018786</color> <color name="colorBackground">#FFFFFF</color> <color name="colorSurface">#FFFFFF</color> <color name="colorError">#B00020</color> <color name="colorOnPrimary">#FFFFFF</color> <color name="colorOnSecondary">#000000</color> <color name="colorOnBackground">#000000</color> <color name="colorOnSurface">#000000</color> <color name="colorOnError">#FFFFFF</color>
Color Theming の適用
Color Theming の適用 colorPrimary colorPrimary colorPrimaryVariant colorSecondary colorSurface
Shape Theming の適用 <style name="AppSmallShapeAppearance" parent="ShapeAppearance.MaterialComponents.SmallComponent"> <item name="cornerFamily">cut</item> </style> <style
name="AppMediumShapeAppearance" parent="ShapeAppearance.MaterialComponents.MediumComponent"> <item name="cornerFamily">cut</item> </style> <style name="AppLargeShapeAppearance" parent="ShapeAppearance.MaterialComponents.LargeComponent"> <item name="cornerFamily">cut</item> </style>
Shape Theming の適用 ・Small Components Button、Chip、FAB、Text Field、Snackbar … ・Medium Components
Card、Dialog、Image list item、Menu ・Large Components Backdrop、Data table、Bottom sheet、Nav drawer… https://material.io/design/shape/applying-shape-to-ui.html#shape-scheme
Shape Theming の適用
Shape Theming の適用 Small Components Medium Components
Typography Theming の適用 <style name="AppTextAppearanceHeadLine1" parent="TextAppearance.MaterialComponents.Headline1"> <item name="fontFamily">@font/lemonada</item> <item name="android:fontFamily">@font/lemonada</item>
</style> <style name="AppTextAppearanceHeadLine2" parent="TextAppearance.MaterialComponents.Headline2"> <item name="fontFamily">@font/lemonada</item> <item name="android:fontFamily">@font/lemonada</item> </style> ……
Typography Theming の適用
Typography Theming の適用 Headline6 Subtitle1 Button
Before / After
最後に ・Material Theming の登場で表現できる幅が広がった ・Android だけでなく iOS 、Flutter、Web でも利用できる ・ここでは紹介しきれなかったたくさんの
UI Components が用 意されている
リンク ・参考 https://material.io/ https://github.com/material-components/material-componen ts-android ・サンプル https://github.com/NUmeroAndDev/MaterialThemingExamp le-android