title: Why does my android activity always start scrolled to the bottom?
body: <p>Whenever I start this activity, it always starts bottomed out--scrolled all the way to the bottom. I am not doing anything weird in the activity OnCreate (or anywhere for that matter) that I would expect to change the scroll position. I have tried setting focus to the topmost focusable control, and the scrollto method, but neither of them are working. Besides, none of my other activities has this problem. Here's the layout:</p>
  
  <pre><code>&lt;ScrollView
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/scroll"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"&gt;
      &lt;LinearLayout
          android:orientation="vertical"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:id="@+id/edit_refresh_update_header"
              android:textSize="18sp"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="\n"
              android:textSize="4sp"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="Variable:"
              android:textSize="18sp"/&gt;
  
          &lt;Spinner
              android:id="@+id/edit_refresh_variables_spinner"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="\n"
              android:textSize="4sp"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="Network:"
              android:textSize="18sp"/&gt;
  
          &lt;RadioGroup
              android:id="@+id/widget1"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"&gt;
  
              &lt;RadioButton
                  android:text="Web"
                  android:id="@+id/edit_refresh_update_rb_web"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:onClick="NetRadioButtonSelected"
                  android:checked="true"/&gt;
  
              &lt;RadioButton
                  android:text="Socket Server"
                  android:id="@+id/edit_refresh_update_rb_socket_server"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:onClick="NetRadioButtonSelected"/&gt;
          &lt;/RadioGroup&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="\n"
              android:textSize="4sp"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="Socket server request type:"
              android:textSize="18sp"/&gt;
  
          &lt;Spinner
              android:id="@+id/edit_refresh_socket_server_req_types_spinner"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="\n"
              android:textSize="4sp"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="Socket server body:"
              android:textSize="18sp"/&gt;
  
          &lt;EditText
              android:layout_width="match_parent"
              android:id="@+id/edit_refresh_update_ss_body"
              android:layout_height="wrap_content"
              android:enabled="false"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="\n"
              android:textSize="4sp"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="Url:"
              android:textSize="18sp"/&gt;
  
          &lt;EditText
              android:layout_width="match_parent"
              android:id="@+id/edit_refresh_update_url"
              android:layout_height="wrap_content"/&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="\n"
              android:textSize="4sp"/&gt;
  
          &lt;Button
              android:text="Save refresh update"
              android:id="@+id/edit_refresh_save_btn"
              android:layout_height="wrap_content"
              android:layout_width="match_parent"
              android:layout_marginLeft="20dip"
              android:layout_marginRight="20dip"
              android:layout_marginBottom="20dp"
              android:layout_alignParentBottom="true"
              android:onClick="SaveRefreshUpdate"&gt;
          &lt;/Button&gt;
  
          &lt;TextView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="\n"
              android:textSize="4sp"/&gt;
      &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>