lib/src/main/java/com/norbsoft/typefacehelper/TypefaceHelper.java
private static void applyTypeface(ViewGroup viewGroup, TypefaceCollection typefaceCollection) {

		for (int i = 0; i < viewGroup.getChildCount(); i++) {
			View childView = viewGroup.getChildAt(i);
			if (childView instanceof ViewGroup) {
				applyTypeface((ViewGroup) childView, typefaceCollection);
			} else {
				applyForView(childView, typefaceCollection);
			}
		}
	}
/**
	 * Apply typeface to all ViewGroup childs
	 *
	 * @param viewGroup to typeface typeface
	 * @param typefaceCollection typeface collection
	 */
Apply typeface to all ViewGroup childs
@param viewGroup to typeface typeface
@param typefaceCollection typeface collection
Apply typeface to all ViewGroup childs @param viewGroup to typeface typeface @param typefaceCollection typeface collection
private static void applyTypeface(ViewGroup viewGroup, TypefaceCollection typefaceCollection) {
		for (int i = 0; i < viewGroup.getChildCount(); i++) {
			View childView = viewGroup.getChildAt(i);
			if (childView instanceof ViewGroup) {
				applyTypeface((ViewGroup) childView, typefaceCollection);
			} else {
				applyForView(childView, typefaceCollection);
			}
		}
	}
private static void applyTypeface ( ViewGroup viewGroup , TypefaceCollection typefaceCollection ) { for ( int i = 0 ; i < viewGroup . getChildCount ( ) ; i ++ ) { View childView = viewGroup . getChildAt ( i ) ; if ( childView instanceof ViewGroup ) { applyTypeface ( ( ViewGroup ) childView , typefaceCollection ) ; } else { applyForView ( childView , typefaceCollection ) ; } } }
Apply typeface to all ViewGroup childs
 @param viewGroup to typeface typeface
 @param typefaceCollection typeface collection
Apply typeface to all ViewGroup childs @param viewGroup to typeface typeface @param typefaceCollection typeface collection