Code example for TypefaceSpan

0
	 */ 
	public static SpannableString buildCondensedFontString(String string) {
		if (string == null)
			return null; 
		SpannableString s = new SpannableString(string);
		s.setSpan(new TypefaceSpan("sans-serif-condensed"), 0, s.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
		return s;
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE