How to change background color of searched text in listview-cursoradapter while typing in searchview?
问题 I've seen tutorials about highlighting text in listview using Spannable string but there is none about searching text from database and highlighting in listview . I have a listview which gets data from database/cursor and shows with the help of cursoradapter . I've placed searchview in action bar to search text from database table. Now i want that when i type a character or word in searchview, every matched result from database table should highlight/change background color of textview in