Extra Step :
This is to know about font family. Let's say you have a thin or light version of your font ! You add it to the fonts folder inside assets folder like always, but you need to make some changes to the fonts.xml now.
You have to make a new family for that. Let's say you have a Roboto light font. To make a new family do this
See the workflow :
family --> nameset tag --> name(family name. in this case light)
fileset tag --> file(the font name)
Let me explain it with one more example. This is for thin fonts :
<family> //Declare a new family
<name>sans-serif-thin</name> //family name
<file>Roboto-Thin.ttf</file> //file name
</family> //End of this family
sans-serif family has the following types of fonts
And the thin and light families has the above types explained in extra step.
Now you say what is the default family set of android, here you go :
Last edited by codekidX; 16th December 2014 at 11:40 AM.