Code example for AbsoluteSizeSpan

0
		SpannableStringBuilder ssb = new SpannableStringBuilder(info);
 
		ssb.setSpan(new StyleSpan(Typeface.BOLD), 0, fullName.length(), 0);
		ssb.setSpan(new StyleSpan(Typeface.ITALIC), info.lastIndexOf('@'),
				info.length(), 0);
		ssb.setSpan(new AbsoluteSizeSpan(10, true), info.lastIndexOf('@'),
				info.length(), 0);
 
		infoTextView.setText(ssb, BufferType.SPANNABLE);
 
		return infoTextView;
	} 
 
	public ImageView buildAvatarTextView(View view, ImageView avatarImageView,
			Status status) {
		String gravatar = status.getGravatar();
 
		String url = "http://www.gravatar.com/avatar/" + gravatar
				+ "?s=80&d=mm"; 
 
		AQuery aq = new AQuery(view);