Android Question How to access styles for the standard font

MitchBu

Well-Known Member
Licensed User
Longtime User
I would like to use Roboto Thin, as displayed on the page
https://material.google.com/style/typography.html#typography-language-categorization

I searched the forum for Typeface, hoping to find some description of the Typeface object and properties and maybe a way to access style, but found nothing. BTW is there any list of the language commands, objects and properties somewhere ?

From what I see in the autocomplete of Typeface properties, there is only standard, bold, etc, but none of the extra styles.

How can I use Roboto Thin, instead of the standard Roboto ?

TIA
 

MitchBu

Well-Known Member
Licensed User
Longtime User
After looking at the Typeface object properties in the documentation, it is obvious there is no way to access the extra styles.

So I downloaded the font family from Google fonts instead and applied the regular method of creation of a typeface from the font file.
 
Upvote 0
Top