I am using a custom font named AwesomeFont in Android App. This help us to produce scalable vector icon. Now the font file get applied on the view (both TextView and EditText) if the application launches from beginning but if the application is in background and get open after few minutes the font-file from the views get removed.
I also try to set typeface from onResume() method but it doesn't help me to get rid of the problem.
Please suggest a solution.
I found that that this problem exist for every custom font that I am using in the application. Custom font get applied throughout the application if is starts from launcher-icon(splash screen), but not if app launches from background after few minutes.