--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:background="@android:color/holo_blue_light"
+ android:id="@+id/hpscroll"
+ android:layout_height="wrap_content"
+ tools:context=".MyActivity">
+ </RelativeLayout>
+ <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:id="@+id/vscroll"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_height="fill_parent"
+ android:fillViewport="false"
+ tools:context=".MainActivity">
+
+ <HorizontalScrollView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/window"
+ android:fillViewport="true">
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="wrap_content"
+ android:layout_height="7000dp"
+ android:id="@+id/global"
+ tools:context=".MyActivity">
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true" />
+ </RelativeLayout>
+ </HorizontalScrollView>
+ </ScrollView>
+</LinearLayout>
\ No newline at end of file