Code example for TypefaceSpan

0
		} 
 
		TypefaceSpan fontSpan;
		switch (font) {
		case 1: 
			fontSpan = new TypefaceSpan("sans-serif-condensed");
			break; 
		case 2: 
			fontSpan = new TypefaceSpan("sans-serif-light");
			break; 
		case 3: 
			fontSpan = new TypefaceSpan("sans-serif-thin");
			break; 
		default: 
			fontSpan = new TypefaceSpan("sans-serif");
			break; 
		} 
 
		SpannableString ss = new SpannableString(text);
		if (titleEnd > 0) {
Stop searching for code, let great code find you!  Add Codota to your java IDE