Code example for AbsoluteSizeSpan

		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 = "" + gravatar
				+ "?s=80&d=mm"; 
Connect your IDE to all the code out there  Get Codota for Java