I want to bold and color of single textview item.ex- 23870.This is a value of textview and i want to bold of 8 and 7 chracter.Thanks in advance..
Asked
Active
Viewed 121 times
2 Answers
2
Spannable str = 23870;
str.setSpan(new StyleSpan(android.graphics.Typeface.BOLD), 2, 3, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
check this

Syn3sthete
- 4,151
- 3
- 23
- 41