TextView's which implement setTypeface so they can have the Typeface applied during inflation.onCreateView(...) method.CalligraphyConfig.Builder.disablePrivateFactoryInjection()
This will need to be called from the
Activity.onCreateView(android.view.View, String, android.content.Context, android.util.AttributeSet)
method to enable view font injection if the view is created inside the activity onCreateView.Typeface avoiding the leak of the font when loaded
by multiple calls to Typeface.createFromAsset(android.content.res.AssetManager, String)
on pre-ICS versions.CalligraphyConfig
Remember if you are defining default in the
CalligraphyConfig make sure this is initialised before
the activity is created.