Java tutorial
//package com.java2s; import android.content.res.AssetManager; import android.graphics.Typeface; import android.widget.TextView; public class Main { private static final String TITLE_FONT = "neuropol.ttf"; /** * Sets the font on a particular TextView * @param assets AssetManager * @param tv TextView the text to apply the font to */ public static void setTitleFont(AssetManager assets, TextView tv) { Typeface tf = Typeface.createFromAsset(assets, TITLE_FONT); tv.setTypeface(tf); } }