I want to show java as well as xml code with `syntax` highlighting inside Activity. But I don't know how to do so .Any help would be appreciated.

[![enter image description here](https://i.stack.imgur.com/ZVDJK.png)](https://i.stack.imgur.com/ZVDJK.png)