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
Shape Design with Material Components
Search
umechanhika
September 27, 2019
Programming
260
3
Share
Shape Design with Material Components
Material ComponentsのShapeのガイドラインと、Shapeを用いてアプリを角丸デザインにした実例をご紹介します。
umechanhika
September 27, 2019
More Decks by umechanhika
See All by umechanhika
My Workspace [2020/08版]
umechanhika
0
110
My Workspace [2020/06版]
umechanhika
0
52
Badging for Tabs and Bottom Navigation
umechanhika
0
370
Capture view and Register to gallery
umechanhika
0
61
Firebase MLKit AutoML Vision Edgeを触ってみた
umechanhika
3
570
Google Play Consoleの時間指定公開のハマりポイント
umechanhika
1
1.6k
UIテスト初心者のチームにUIテスト自動化を導入した話
umechanhika
0
110
GoogleI/Oアプリのようなフィルター機能を実装する
umechanhika
2
540
Jenkins + Bitbucketでアプリリリースを自動化してみた
umechanhika
1
680
Other Decks in Programming
See All in Programming
おれのAgentic Coding 2026/03
tsukasagr
1
150
事業会社でのセキュリティ長期インターンについて
masachikaura
0
260
Vibe NLP for Applied NLP
inesmontani
PRO
0
450
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
3
280
Angular Signal Forms
debug_mode
0
110
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
140
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
3
790
[RubyKaigi 2026] Require Hooks
palkan
1
220
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
280
CDK Deployのための ”反響定位”
watany
5
800
iOS機能開発のAI環境と起きた変化
ryunakayama
0
190
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
5k
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
220
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
190
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
55k
Visualization
eitanlees
150
17k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
210
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
150
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
100
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Heart Work Chapter 1 - Part 1
lfama
PRO
6
35k
Transcript
Shape Design with Material Components
Hikaru Umetsu (@umechanhika) Individual developer Android & Flutter About me
Apps
The GOAL is to enable you to implement shape using
Material Components.
Introduction About shape Guideline How to implement Case study
About shape Customizable corners
Guideline
Usage
Emphasis
Identity
State
Branding
Attributes
Rounded Cut Shape family
Absolute Percentage Shape size
Categories
Small components
Medium components
Large components
Caution
Do. Donʼt. Absolute or Percentage
Full-screen components Donʼt use shape on the corners of full-screen
and expanded components.
How to implement
Apply categories <style name="SmallCompShapeAppearance" parent="ShapeAppearance.MaterialComponents.SmallComponent"> <item name="cornerFamily">cut</item> <item name="cornerSize">4dp</item> </style>
<style name="Theme.MyApp" parent="Theme.MaterialComponents.Light"> ... <item name="shapeAppearanceSmallComponent">@style/SmallCompShapeAppearance</item> ... </style>
Apply components <style name="CardViewShapeAppearanceOverlay"> <item name="cornerFamily">rounded</item> <item name="cornerSize">16dp</item> </style> <style
name="CardViewStyle" parent="Widget.MaterialComponents.MaterialCardView"> <item name="shapeAppearanceOverlay">@style/CardViewShapeAppearanceOverlay</item> </style> <style name="Theme.MyApp" parent="Theme.MaterialComponents.Light"> ... <item name="materialCardViewStyle">@style/CardViewStyle</item> ... </style>
Apply individual component <style name="CardViewShapeAppearanceOverlay"> <item name="cornerFamily">rounded</item> <item name="cornerSize">16dp</item> </style>
<com.google.android.material.card.MaterialCardView android:layout_width="match_parent" android:layout_height="wrap_content" app:shapeAppearanceOverlay="@style/CardViewShapeAppearanceOverlay"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/card_text"/> </com.google.android.material.card.MaterialCardView>
Case study
About app Name: HappinessBank Concept: happiness/soft/warmth Adopt: Branding
Before After BottomAppBar
Before After BottomSheet
Before After SmallComponents
Summary Shape is the customizable corners. Usage of shape is
Emphasis, Identity, State, and Branding. You can customize it using styles.xml.
Thanks!