Syntax Highlighting in Android textview

0

Do you know of any library or method to display source code (Syntax Highlighting) in the textview?

I need to do this for hundreds of codes (average of about 400), just for reading.

Something similar to the image below.

Thank you!

    
asked by anonymous 22.09.2014 / 22:33

1 answer

1

1: There is an open-source project called Shader Editor:

link

2: You can use HTML + JavaScript: There are several tools to color syntax in JavaScript. See this . It is used in this blog .

Sources:

1: link

2: link

    
23.09.2014 / 23:11