Good day!
I want to know if you can set the degree of fat content in TextView? For example, the standard Roboto font has the Ultra-Bold 900 look, but the question is, can the text be made like this?

    3 answers 3

    Standard tools can only achieve Bold / Normal / Italic / BoldItalic ( proof )

    As an option - the use of custom font with the desired type of "fat" for the necessary controls. Read about custom font here

    • Yes, I know about custom tools, it is the standard I am interested in - andreich
    • @ Arthur Panteleev, the author of the answer gave the correct link, just the local parser does not like the colon in the links, replacing the colon with% 3a solves the problem. - ReinRaus 2:38 pm

    Yes you can

    font-weight: bold|bolder|lighter|normal|100|200|300|400|500|600|700|800|900 

    here are the possible values ​​for font-weight. Bold corresponds to 700, then 800 and 900 will be fatter

    • But you can give an example of code or markup :) - andreich

    Depending on the font used and the size of the text, what is the maximum boldness embedded in the font such it will be the maximum