1

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.

2

1 Answer 1

1

You might want to try this.

Android Syntax Highlighting?

Looks like it might do what you are looking for.

Sign up to request clarification or add additional context in comments.

3 Comments

I don't think I can really use this in the XML files.
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.
try the link in the edit. Looks like you're not the first to go down this road.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.