I am using Calligraphy Library for using custom font in my application. I set a custom font to my whole application by default font using CalligraphyConfig
, in my <
Not Best Solution however better than custom font in that activity.
I just removed
@Override
protected void attachBaseContext(Context newBase) {
super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase));
}
from activity where I was trying to change font. In That activity using default android font which is better than that custom font for my other activities.