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

Default image
Androidhunt
Android Hunt Is Tech Blog with a Collection Of Android Tutorials and Libraries. Which is used to make android app development simple.
Articles: 261

Leave a Reply