Material Components. Setting Up An Android Theme
Material Components. Setting Up An Android Theme
Shutterstock | Aphelleon
Subsystems
Color
Typography
Shape Components
Material Theming
Picking theme attributes using
material.io
Color tool:
https://material.io/tools/color
Google Fonts:
https://fonts.google.com
Shape customization tool:
https://material.io/design/shape/about-
shape.html#shape-customization-tool
Material Theme Editor (Sketch
plugin):
https://material.io/tools/theme-editor/
Bringing it back to
Adding the dependency
implementation "com.google.android.material:material:$material_version"
ext.material_version = '1.1.0-alpha05'
Choose a base theme
textAppearanceCaption textAppearanceSubtitle1
Adding type attributes
shapeAppearanceLargeComponent shapeAppearanceMediumComponent
Adding shape attributes
bottomNavigationStyle materialCardViewStyle
Adding widget style attributes
https://medium.com/over-engineering/setting-up-a-material-components-theme-
for-android-fbf7774da739
https://www.youtube.com/watch?v=DPH3F0v1jB0
“Designing and building a real app using Material tools & components” (Droidcon
Kenya 2018)
https://www.youtube.com/watch?v=hjATvyrA0CQ
Any questions?
“
Shutterstock | Aphelleon @ricknout