Using TypeFace in Android
In android, when you using the custom fonts. You need to create the assets folder in the main, then paste your .ttf or .otf format fonts. Here some methods will be very useful for you, Set the typeface public Typeface setTypeFace(Context context) { Typeface typeface = Typeface.createFromAsset(context.getAssets(), "fonts/MyriadPro_Regular.otf"); return typeface; } txt_username.setTypeface(setTypeFace(getActivity())); Like you can set the EditText, Spinner and other widgets. Using the spannable text view in android, Spannable span = new SpannableString("Hello Android, Have a great day!"); span.setSpan(new ForegroundColorSpan(Color.BLUE), 0, 13, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); span.setSpan(new ForegroundColorSpan(Color.RED), 13, 25, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); tv.setText(span); Using Custom TypeFace: import android.content.res.Resources; import android.graphics.Paint; import a