I kept the text file inside the asset folder & I’m able to display the whole text in a TextView in my activity. But now I need to add search function inside my activity with highlighting the searched text. Can anyone pls suggest any idea or send me code snippet
to finish this.
Thanks in Advance
Krishnakumar P
Use the folowing code to get highlight the text.