@@ -0,0 +1,950 @@
+package fyp.hkust.facet.util;%0A%0Aimport android.content.Context;%0Aimport android.graphics.Typeface;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0Aimport android.widget.TextView;%0A%0A/**%0A * Created by ClementNg on 17/1/2017.%0A */%0A%0Apublic class FontManager %7B%0A%0A    public static final String ROOT = %22fonts/%22,%0A            APP_FONT = ROOT + %22HiraginoSansGBW3.ttf%22;%0A%0A    public static Typeface getTypeface(Context context, String font) %7B%0A        return Typeface.createFromAsset(context.getAssets(), font);%0A    %7D%0A%0A    public static void markAsIconContainer(View v, Typeface typeface) %7B%0A        if (v instanceof ViewGroup) %7B%0A            ViewGroup vg = (ViewGroup) v;%0A            for (int i = 0; i %3C vg.getChildCount(); i++) %7B%0A                View child = vg.getChildAt(i);%0A                markAsIconContainer(child,typeface);%0A            %7D%0A        %7D else if (v instanceof TextView) %7B%0A            ((TextView) v).setTypeface(typeface);%0A        %7D%0A    %7D%0A%0A%0A%7D%0A

add new font manager