XML code in TextView to make an android learning app : I am developing an android app for beginners to Learn Android I have developed most of it but now it is not allowing me to paste XML code in text view(that code i want to be visible in TextView). 

I did not got much help but i tried to use resources>value>string and tried pasting the code in text field. How can i fix it