0

I want to use some custom fonts in xml but I don't want it to be read from res/font. Is there anyway we can change the location from where the fonts are read ?

  • 1
    you can keep them in assets. if using Kotlin use extension functions otherwise custom Text view class. try this https://stackoverflow.com/questions/27588965/how-to-use-custom-font-in-a-project-written-in-android-studio – Usman R Feb 09 '22 at 08:10
  • 1
    Where do you want to read it from ? – Taranmeet Singh Feb 09 '22 at 08:54

0 Answers0