Created
August 28, 2019 14:50
-
-
Save vamsitallapudi/8ad00647e499431969ee8134c4182612 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.coderefer.firebasedatabaseexample; | |
import android.app.Application; | |
import com.coderefer.firebasedatabaseexample.util.FontsOverride; | |
/** | |
* Created by vamsi on 06-05-2017 for android custom font article | |
*/ | |
public class CustomFontApp extends Application { | |
@Override | |
public void onCreate() { | |
super.onCreate(); | |
FontsOverride.setDefaultFont(this, "DEFAULT", "fonts/raleway.ttf"); | |
FontsOverride.setDefaultFont(this, "MONOSPACE", "fonts/raleway.ttf"); | |
FontsOverride.setDefaultFont(this, "SERIF", "fonts/raleway.ttf"); | |
FontsOverride.setDefaultFont(this, "SANS_SERIF", "fonts/raleway.ttf"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment