how to keep activity from scrolling back up afte calling another activity?
<p>I have one main Activity with layout wrapped into ScrollView like this:</p>

<pre><code>&lt;ScrollView android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_weight="1"&gt;
</code></pre>

<p>User can scroll up and down and there is some buttons when user scrolls down.</p>

<p>When user presses a button - I run code like this:</p>

<pre><code>public void onClick(View view)
        {
            Log.d(LOG_TAG, "onClick");

            TireView tiat = (TireView)view;

            Intent i = new Intent(TrailerInspectionActivity.this, TireInspectionActivity.class);
            i.putExtra(TireInspectionActivity.INTENT_TIRE_NUMBER, tiat.getNumber());
            if (tiat.getDepth() != -1)
            {
                i.putExtra(TireInspectionActivity.INTENT_DEPTH, tiat.getDepth());
                i.putExtra(TireInspectionActivity.INTENT_PRESSURE, tiat.getPressure());
            }

            TrailerInspectionActivity.this.startActivityForResult(i, REQUEST_CODE_TIRE_INSPECTION_ACTIVITY);
        }
</code></pre>

<p>TireInspectinActivity starts and shows like popup - I use <code>theme.Dialog</code> for that.</p>

<p>As soon as user clicks and popups show up - main activity ScrollView scrolls all way up. 
Is there any way to prevent this from happening?</p>
