I have added a custom font file to my assets/fonts folder. How do I use it from my XML?
I can use it from code as follows:
TextView text =
Not a good idea to use custom fonts in xml due to this fact that is, you have to do it programmatically to avoid the memory leak!