public static void apply ( TextView textView , Face type ) { // First check for existing typefaces Typeface typeface = getTypeface ( textView . getContext ( ) , type ) ; if ( typeface != null ) textView . setTypeface ( typeface ) ; }
Apply a typeface to a textview