Thanks.
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent">
- <ScrollView
- android:id="@+id/ScrollView01"
- android:layout_height="100px"
- android:layout_width="fill_parent">
- <TextView
- android:id="@+id/TEXT_VIEW"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:text="Nothing" />
- </ScrollView>
- </RelativeLayout>
Parsed in 0.002 seconds, using GeSHi 1.0.8.4
loading as such:
Using java Syntax Highlighting
- TextView tv = new TextView (this);
- tv.setText ("\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye\nhello\nxxxx\nGoodbye");
- setContentView (tv);
Parsed in 0.030 seconds, using GeSHi 1.0.8.4

