Using the Fonts in XML feature you can specify various font weights for a font family. For example:
Step 1: Find or Download your font, let's say cavier_dream
Step 2: Right-click on the res folder and create the font resource folder inside the res folder
Step 3: Right-click on font folder and create a font resource file, let's say app_font.xml
Step 4: Open the app_font.xml file and modify as follows
Usage:
For global usage across the application go to the styles.xml and inside the theme, create a new item as follow
And for local usage simply use the fontFamily attribute and set the app_font as value.
Happy coding:)