Custom fonts on Android

This is how to load custom font and set it as a typeface for a TextView

TextView txt = (TextView) findViewById(R.id.custom_font);  
Typeface font = Typeface.createFromAsset(getAssets(), "CUSTOM_FONT.ttf");  
txt.setTypeface(font);