Theming your Android app is not just about choosing a color scheme and that was one of the mistakes that I made. Theming is composed of other factors such as Typography.
You would think typography is just about choosing a font and slapping it not the the app right? Well, that's the second mistake that I made 😊.
Typography can be defined as the art and technique of arranging type. Although it is an area we usually depend on designers to attend to, I believe as developers, we should have a clue to how it works under the hood.
Using the Material Design Type Scale to style text in the app aids in creating a uniform look and feel across your app. It provides the following styles to apply to your texts:
Headline styled text appear the largest on the screen.
Subtitle styled text appears smaller than Headline texts.
Body styled text is commonly used for long-from writing such as articles.
These have the smallest font sizes.
- textAppearanceCaption and textAppearanceOverline respectively.
Used to style text that appears on buttons.
You can use type scale, Headline for example, in your app as follows:
And for text on buttons, you can style it as follows:
This allows you to edit the attributes to better suit your app's look and feel.
A full list of Material Design Type Scale can be found here.
Comment with a pic of how you styled text for your app.