you don't seem to allow for multiple matches. there is an additional
level of complexity, i believe, if your search string is found more than
once in the text. you may want, eg, the second or third match, not
the first...
you imply that you simply want to search for a string and have
the view go to that string (if found). with that in mind, i would
turn to the much maligned webview, which will show all the matches,
conveniently highlighted and which allows you to skip (forward
and backward) among the matches (if any). and your text will
be displayed exactly as it would in an edittext.
try the attached. a long sample text is displayed. a yellow edittext
allows you to search for a string. simply tap "enter" or "return" or
"-->" (arrow) after keying in the search string. the search will be case
insensitive and all the matches will be highlighted. to move forward
to the next match, tap the "Find Next" button. "Clear Search" clears
the matches. i didn't implement a "search backward" button.
the example doesn't allow for editing or saving; that would involve
a few extra tweaks.