Android : Multi-Line Text View

view story

http://stackoverflow.com – I am building an app that include the c++ programs. I just need to show the code as a text in my xml layout. I don't want it to compile it or to do anything else with it. But every time i write the text it show error that you cant use strings like '<', '>' or double inverted commas. Can you please help me out how i can use these strings in my text view. Here is my xm layout. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="ve (HowTos)