title: View scrolls to top when the spinner valueis changed
body: <p>I have all views in a <code>ScrollView</code>. </p>
  
  <pre><code>&lt;ScrollView  xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
      &lt;LinearLayout
      android:orientation="vertical"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      tools:context="www.sample.com.Settings"&gt;
      &lt;LinearLayout
          android:orientation="vertical"
          android:layout_marginBottom="5dp"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"&gt;
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:textAppearance="?android:attr/textAppearanceLarge"
              android:text="@string/basic_settings"
              android:background="@color/colorPrimaryDark"
              android:textColor="#fff"
              android:id="@+id/settings_header_1"
              android:padding="5dp"
              android:layout_alignParentTop="true"
              android:layout_alignParentLeft="true"
              android:layout_alignParentStart="true" /&gt;
      &lt;/LinearLayout&gt;
  .
  .
  .
      &lt;LinearLayout
          android:orientation="horizontal"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_alignParentTop="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentStart="true"
          android:layout_marginBottom="5dp"&gt;
          &lt;TextView
              android:layout_width="150dp"
              android:layout_height="wrap_content"
              android:textAppearance="?android:attr/textAppearanceMedium"
              android:text="@string/job"
              android:padding="5dp"
              android:layout_alignParentTop="true"
              android:layout_alignParentLeft="true"
              android:layout_alignParentStart="true" /&gt;
   &lt;Spinner
       android:background="@drawable/textbox"
       android:padding="5dp"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:id="@+id/jobs"&gt;
   &lt;/Spinner&gt;
  
      &lt;/LinearLayout&gt;
      &lt;/LinearLayout&gt;
      &lt;/ScrollView&gt;
  </code></pre>
  
  <p>When the value of the I change the value of the spinner the view scrolls to the top. but why? and how to avoid that?</p>