Home Design

by Androidhunt

Type theming on Android using the MDC library

Nick Rout
Image for post

Image for post

Image for post

Image for post

MDC type attributes with baseline styling
Image for post

Image for post

Type attributes used by a button
android:textAppearance=”?attr/textAppearanceBody1”

...

@style/TextAppearance.MaterialComponents.Body1

Type tool

Image for post

Image for post

Google Fonts (left) and Type scale generator (right)

XML and downloadable fonts

TextAppearance styles

Calculating letterSpacing

MaterialTextView and lineHeight

You may also like

Leave a Reply