I want to inset some images in the TextView. How to do it? Any idea
You can create a spannableString and place your image where you want in the TextView. Or you can use
ImageSpan is = new ImageSpan(context, resId); text.setSpan(is, index, index + strLength, 0);
1.4m articles
1.4m replys
5 comments
57.0k users