in my android application i have a string that contains a specific word so i want to display whole string in text view and the specific word should be highlighted.Hope follo
If I can understand you have the list of words and you want to find this words in text and highlight them so in this answer you have three input parameter:
yourTextview to show the result text
String text = "full of your text";
Spannable textSpannable = new SpannableString(text);
for (int j =0 ; j