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
680
GraphicsLayerのBitmap作成
numeroanddev
0
250
GraphQLとGigaViewer for Apps
numeroanddev
4
4.7k
Android アプリのプロジェクトをモダンにし続ける工夫
numeroanddev
1
790
Material 3で Material 2ぽい見た目にする
numeroanddev
2
680
Google I/O 2023 の 個人的おすすめセッションの紹介 / Introducing interesting sessions at Google IO 2023
numeroanddev
1
520
Jetpack ComposeのTalkback対応/Improve Talkback in Jetpack Compose
numeroanddev
0
610
Baseline Profilesでアプリのパフォーマンスを向上させる / Improve app performance with Baseline Profiles
numeroanddev
0
1k
Jetpack Composeでアプリを開発して遭遇した問題
numeroanddev
0
770
Other Decks in Design
See All in Design
設計の進め方と 品質特性品質特性
harakeishi
0
1.2k
開発・制作におけるUI・UXデザインの重要性について~UI・UXデザインってなんだろう~
yamasaku
0
190
CULTURE DECK/Marketing Director
mhand01
0
1.6k
AIスライド生成を進化させるMDファイル
kenichiota0711
1
1.6k
root COMPANY DECK / We are hiring!
root_recruit
4
30k
CULTURE DECK/Frontend Engineer
mhand01
0
1.6k
富山デザイン勉強会_プレゼンテーション.pdf
keita_yoshikawa
0
130
Saving_the_King_-_Storyboard.pdf
terencebasart
0
290
デザインの文脈を理解する:エンジニアがデザインカンファレンスに参加して得た学びと気づき
hypebeans
0
280
Build for the Web, Build on the Web, Build With the Web
csswizardry
0
510
言幹と言葉(Stems & Leaves)
kakukoki
0
200
速く作れるかではなく、速く学べるか ― 学習ループを回すパイロットの途中報告
nagata03
0
620
Featured
See All Featured
The browser strikes back
jonoalderson
0
1.6k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
65
57k
WENDY [Excerpt]
tessaabrams
12
39k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Building AI with AI
inesmontani
PRO
1
1.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Producing Creativity
orderedlist
PRO
348
40k
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