From b7158541aad377b6931b5ae8af4de2ce5b0e7970 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frans-Lukas=20L=C3=B6venvald?= Date: Wed, 8 Jul 2020 11:42:10 +0200 Subject: [PATCH] #2111 correction of typography section. --- DESIGN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESIGN.md b/DESIGN.md index 1977ab86b..de2146233 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -39,7 +39,7 @@ Text should contrast well, use the correct weight and size to present content as Views using the same style often use different text style. Therefore text styles, and view styles are seperated and can be used simultaneously. To keep an android application consistent in style, thirteen text style attributes should be defined. These style attributes can be generated ([Material Design type scale generator](https://material.io/design/typography/the-type-system.html#type-scale)), or defined by editing `core/../values/type.xml`. -All text should have a text style to simplifiy appearance changes. To set a text style, simply set the `textAppearance` property using one of the thirteen text style attributes from `core/../values/type.xml`. Text can also be grouped if they are related and uses the same text style. This is done by creating a new attribute for the text group in `core/../values/attrs.xml` and assigning one of the thirteen text appearances to this new attribute. This attribute can then be set as the textAppearance for the group of texts. +All text should have a text style to simplifiy appearance changes. To set a text style, simply set the `textAppearance` property using one of the thirteen text style attributes from `core/../values/type.xml`. Text can also be grouped if they are related and uses the same text style. This grouping can be done by creating a style that inherits a specific text appearance. E.x. `