How to change display from default 0,0 position on larger image in Android java
<p>i couldnt find an answer to this question, its probably simple..</p>

<p>I have a larger image (world map) on my screen, and i can move horizontally and vertically on map.
The problem is, when i start the activity that shows the map, the default position of the display is 0,0 position so it shows beginning of the picture.</p>

<pre><code>_______________
| screen |     |
|________|     |
|              |
|     MAP      |
|______________|

_______________
|      ______  |
|     |screen| |
|     |______| |
|              |
|     MAP      |
|______________|
</code></pre>

<p>As the picture says, this is what i would like to do, to change default view of display to show itself somewhere else on the map, and i dont know how to do it..</p>

<p>my layout is like this..  </p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/worldLinearLayout"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    tools:context=".WorldMapActivity" &gt;

    &lt;org.kema.view.VScroll
        android:id="@+id/vScroll"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" &gt;

        &lt;org.kema.view.HScroll
            android:id="@+id/hScroll"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent" &gt;

            &lt;RelativeLayout
                xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:tools="http://schemas.android.com/tools"
                android:id="@+id/relativeLayoutWorldMap"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent" &gt;

                &lt;ImageView
                    android:id="@+id/imageViewWorldMap"
                    android:layout_width="fill_parent"
                    android:layout_height="fill_parent"
                    android:adjustViewBounds="false"
                    android:contentDescription="World map"
                    android:src="@drawable/contacts_map" /&gt;
            &lt;/RelativeLayout&gt;
        &lt;/org.kema.view.HScroll&gt;
    &lt;/org.kema.view.VScroll&gt;

&lt;/LinearLayout&gt;
</code></pre>

<p>Any idea how to do that ? Thank you</p>

<p>Edit: just to clarify, my question is not about moving on the screen, i already solved that, its just changing position of default view when you come on the screen.</p>
