I'm making an application that will store a page of text. This application should read highlighted text shown on the screen and pronounce it for the user. The problem is that when I disable the EditText from editing, I can't set highlight in the EditText anymore.
I use this code for disabling:
contentBox.setKeyListener(null);
And this code for setting highlight:
contentBox.setSelection(0,findNextLineIndex(0));
Any idea? Thanks.