Scrolling through a large image in Android gallery vertically and horizontally
===

I'm trying to put this large map image into an application that I'm building to learn how Android works, and I've run into a bit of a road block. I've found code on how to make it full sized and scrollable both vertically and horizontally, but the issue I'm running into now is that I can only scroll in one direction at a time, rather than being able to put my finger on the screen and scroll diagonally. This causes it to seem laggy since it will register going up, but stops moving if you move your finger to go left or right without completely lifting your finger. Here's the code that I have right now:

    <?xml version="1.0" encoding="utf-8"?>
    	<ScrollView 
    	xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent">

    	<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
        	android:layout_width="fill_parent"
        	android:layout_height="fill_parent">
 
    	    	<Gallery
   				android:id="@+id/mapPic"
    			android:layout_height="wrap_content"
    			android:layout_width="wrap_content"
    			android:background="@drawable/zoomap2012"
    			android:padding="0dip" />
    	    	
    	</HorizontalScrollView>
    </ScrollView>

It's not very detailed code as I still don't know completely what I'm doing, but it's at least somewhat working as I expected :) Thanks!