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 follow
Support Library 26 introduced using fonts in XML, and it's backwards compatible to Android API 14.
To add fonts as resources, perform the following steps in the Android Studio:
Right-click the res folder and go to New > Android resource directory. The New Resource Directory window appears.
In the Resource type list, select font, and then click OK. Note: The name of the resource directory must be font.
R.font.dancing_script
, R.font.lobster
, and R.font.typo_graphica
.To set a font for the TextView
, in the layout XML file, set the fontFamily attribute to the font file you want to access.
The Android Studio layout preview allows you to preview the font set in the TextView.
To add a font to a style, Open the styles.xml, and set the fontFamily attribute to the font file you want to access.