Android Context Get getTCItalicFont(Context context)

Here you can find the source of getTCItalicFont(Context context)

Description

get TC Italic Font

License

Apache License

Declaration

public static Typeface getTCItalicFont(Context context) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import android.content.Context;
import android.graphics.Typeface;

public class Main {
    private static String fontPath_italic = "fonts/OpenSans-CondItalic.ttf";

    public static Typeface getTCItalicFont(Context context) {
        Typeface tf = Typeface.createFromAsset(context.getAssets(),
                fontPath_italic);/*from   w  w w  .ja  v a 2  s . com*/
        return tf;
    }
}

Related

  1. getStringFromResource(int resource, Context context)
  2. getStringResourceByName(String aString, Context context)
  3. getSystemDiskCacheDir(Context context)
  4. getTCBoldFont(Context context)
  5. getTCFont(Context context)
  6. getTempFile(Context context)
  7. getTimestamp(Context context)
  8. getTypeface(Context context, String name)
  9. getUserAgentString(Context context)