I'm currently working on an android app to help my fellow classmates to learn C language. I'm pretty much done with the design and layout of the app, and have even managed to put explanation with example. But I really don't know how to display the C programs inside the app.
I've read about displaying HTML code and reading/displaying from a text file in raw folder but I don't think that'd prove helpful here. Plus I'm new to Java/Android Studio stuff so I request you all to post a bit detailed answer with little explanation.
I don't necessarily want the C code to be color highlighted or prettified, it would be enough if I could just somehow display it.