Posts like this How to change fontFamily of TextView in Android suggests, that the variants of Roboto fonts you can specify in styles.xml in Android 4.2 boils down to the following:
- Regular
- Italic
- Bold
- Bold-italic
- Light
- Light-italic
- Thin
- Thin-italic
- Condensed regular
- Condensed italic
- Condensed bold
- Condensed bold-italic
That leaves out the ability to style TextViews using eg. the Roboto-Medium or Roboto-Black fonts.
But why would Google add system wide fonts that can not be used for styling of your TextViews? Surely there must be some way of specifying all of the Roboto fonts from within styles.xml (ie. NOT having to embed the fonts as Assets and creating custom TextViews in code) - but how?






I suggest you to use custom libraries like Android-RobotoTextView or Calligraphy. With one of these you can set the font of a view in xml with an attribute so you can put in in styles.xml . And they works with previous version of Android than 4.0