I hope this helps somebody.

Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:orientation="vertical"
- android:id="@+id/root"
- >
- <ScrollView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:fillViewport="true"
- >
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_margin="3px"
- >
- <TextView
- android:id="@+id/tv_1"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:text="tv_1tv_1......."
- />
- <TextView
- android:id="@+id/tv_2"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:text="tv_2tv_2tv_2"
- />
- <TextView
- android:id="@+id/tv_3"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="tv_3tv_3......."
- />
- <TextView
- android:id="@+id/tv_4"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textStyle="bold"
- android:text="tv_4tv_4......."
- />
- <TextView
- android:id="@+id/tv_5"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:text="tv_5tv_5......"
- />
- <TextView
- android:id="@+id/tv_error"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center_vertical|center_horizontal"
- android:text="error"
- android:visibility="gone"
- />
- <!--
- Making sure that there is enough paddingBottom by adding two invisible
- ImageButtons. With this way the paddingBottom is set relatively.
- -->
- <ImageButton
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:visibility="invisible"
- />
- <ImageButton
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:visibility="invisible"
- />
- </LinearLayout>
- </ScrollView>
- <TableLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:stretchColumns="0,1">
- <TableRow
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
- <ImageButton
- android:id="@+id/buttonbefore"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_menu_back"
- />
- <ImageButton
- android:id="@+id/buttonnext"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_menu_forward"
- />
- </TableRow>
- </TableLayout>
- </RelativeLayout>
Parsed in 0.009 seconds, using GeSHi 1.0.8.4




