Closed bhavesh-hirpara closed 9 years ago
SpannableStringBuilder sb = new SpannableStringBuilder();
for (int i = 0; i < mArrayList.size(); i++) { if (i == pos) { int start = sb.length(); sb.append(mArrayList.get(i).content); sb.setSpan(new BackgroundColorSpan(0xFFCCFFCC), start, sb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); } else { sb.append(mArrayList.get(i).content); } }
my spanned text and it just display text..
Spannable is not currently supported. I have been busy lately but I should get to it.
Please refer to experimental version. More info on README.md.
SpannableStringBuilder sb = new SpannableStringBuilder();
my spanned text and it just display text..