Textview with different Textsize

suggest change

You can archive different Textsizes inside a Textview with a Span

TextView textView = (TextView) findViewById(R.id.textView);
Spannable span = new SpannableString(textView.getText());
span.setSpan(new RelativeSizeSpan(0.8f), start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
textView.setText(span)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents