I need to use certain font for my entire application. I have .ttf file for the same. Is it possible to set this as default font, at application start up and then use it else
in api 26 with build.gradle 3.0.0 and higher you can create a font directory in res and use this line in your style
@font/your_font
for change build.gradle use this in your build.gradle dependecies
classpath 'com.android.tools.build:gradle:3.0.0'