Is it possible to use Java syntax highlighting inside of an app for android? For example when you would add a bunch of code in a TextView. How would I color that in the Java Syntax highlighting? Or in other words is there a way to make the program do it for you or do you have to do all of it yourself.
Asked
Active
Viewed 2,489 times
1
-
Possible duplicate of [Android Syntax Highlighting?](http://stackoverflow.com/questions/11987660/android-syntax-highlighting) – Thomas Vos Apr 14 '16 at 11:05
-
See this library https://stackoverflow.com/a/52641368/1770868 – Ahmad Aghazadeh Oct 04 '18 at 07:34
1 Answers
1
You might want to try this.
Looks like it might do what you are looking for.

Community
- 1
- 1

djjolicoeur
- 484
- 3
- 7
-
-
ah. This might be a poor choice.....Sorry, didn't realize it was extending Swing. This might not work. My fault. I'm just going to delete this answer to avoid future confusion. – djjolicoeur Jan 28 '13 at 18:40
-
try the link in the edit. Looks like you're not the first to go down this road. – djjolicoeur Jan 28 '13 at 18:46