Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Let's use Material Theming
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Nabe
February 15, 2019
Design
1.6k
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
Transcript
26 slides
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
More Decks by Nabe
See All by Nabe
カクヨムAndroidアプリのリブート
numeroanddev
0
710
GraphicsLayerのBitmap作成
numeroanddev
0
270
GraphQLとGigaViewer for Apps
numeroanddev
4
4.8k
Android アプリのプロジェクトをモダンにし続ける工夫
numeroanddev
1
810
Material 3で Material 2ぽい見た目にする
numeroanddev
2
700
Google I/O 2023 の 個人的おすすめセッションの紹介 / Introducing interesting sessions at Google IO 2023
numeroanddev
1
540
Jetpack ComposeのTalkback対応/Improve Talkback in Jetpack Compose
numeroanddev
0
630
Baseline Profilesでアプリのパフォーマンスを向上させる / Improve app performance with Baseline Profiles
numeroanddev
0
1k
Jetpack Composeでアプリを開発して遭遇した問題
numeroanddev
0
780
Other Decks in Design
See All in Design
デザインハーネスをつくるハーネス|誰でも自社らしいデザインをつくれるようにする仕組み
katakai
0
1.5k
AI-Slopなデザインを生まないためのデザインプロセス戦略
takanorip
10
6.6k
明日から真似できる、AIでデザインシステムを活用する方法
vivion
0
1k
Pra não dizer que não falei das flores...
videlvequio
0
170
ひとりで作れる時代に、 判断をみんなで持つには。/ Build alone share judgment
kgsi
1
960
LP制作のための熱量ハーネス -人の熱量を、AIとの制作につなぐ-
niccy
0
2.3k
Luna's Light
shemeetscity
0
730
2026/8/20 Polaris15周年イベント 『共創の場をつくる』 〜 誰もが『心地よく暮らし、心地よくはたらく』ことを選択できる社会へ 〜 関係性から地域をつくりなおす共創の土壌づくり〜リビングラボの事例を通じて〜
a2k
0
140
少人数チームで_使われるプロダクトにたどり着くための_デザインハーネス.pdf
nishame
1
1.6k
日経電子版を支えていく Kasane Design System
taitotnk
0
600
凡庸を落とすハーネス
hiromimaeo
2
1.1k
デザなに#1「問いのデザイン」の紹介LT
garyuten
0
190
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
660
Tell your own story through comics
letsgokoyo
1
1.1k
How to Ace a Technical Interview
jacobian
280
24k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Color Theory Basics | Prateek | Gurzu
gurzu
1
520
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
660
Side Projects
sachag
456
43k
Facilitating Awesome Meetings
lara
57
7.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Git: the NoSQL Database
bkeepers
PRO
433
67k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k