After some searching, I couldn't seem to find a library that provides syntax highlighting. You will probably need to subclass EditText and do the syntax highlighting yourself... If you do decide to do this, you should open source it, as this would be a very handy control!