Hi visit my blog at http://upadhyayjiteshandroid.blogspot.in/2013/01/android-custom-fonts-part-2.html where you can also download the code as well.
what you need to do is make a custom view with particular needed font and use it wherever you want.
suppose there is a textview for this purpose make CustomTextView .java code is as follows
package com.jitesh.customfonts;
import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.TextView;
public class CustomTextView extends TextView {
public CustomTextView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
init();
}
public CustomTextView(Context context, AttributeSet attrs) {
super(context, attrs);
init();
}
public CustomTextView(Context context) {
super(context);
init();
}
public void init() {
Typeface tf = Typeface.createFromAsset(getContext().getAssets(),
"fonts/HandmadeTypewriter.ttf");
setTypeface(tf, 1);
}
}
use it as follows in xml
<com.jitesh.customfonts.CustomTextView
android:id="@+id/custom1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_marginTop="70dp"
android:text="@string/hello_Jitesh"
tools:context=".MainActivity" >
</com.jitesh.customfonts.CustomTextView>
also make sure that yours font is available at asset with fonts/HandmadeTypewriter.ttf