title: OnScreen keyboard opens automatically when Activity starts
body: <p>When my Activity with a <code>ScrollView</code> layout and <code>EditText</code>s starts, the <code>EditText</code>s get focus and the Android OnScreen keyboard opens.</p>
  
  <p>How I can avoid that?</p>
  
  <p>When I was using <code>LinearLayout</code> and <code>RelativeLayout</code> without the <code>ScrollView</code> it doesn't happen.</p>
  
  <p>I've tried it this way, and it works, but it's not a good way to do it:</p>
  
  <pre><code>TextView TextFocus = (TextView) findViewById(R.id.MovileLabel);
  TextFocus.setFocusableInTouchMode(true);
  TextFocus.requestFocus();
  </code></pre>
  
  <p>Next you have an example of some of my layouts with this problem, when this Activity starts, focus goes to the first <code>EditText</code>, <em>Description</em> and the Android keyboard opens automatically, this is very annoying.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView android:id="@+id/ScrollView01"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;LinearLayout 
          android:orientation="vertical"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent" 
          android:padding="10px"&gt;
  
          &lt;RelativeLayout
              android:gravity="center_vertical"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"&gt;
              &lt;TextView
                  android:id="@+id/UserLabel" 
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_marginTop="13px"
                  android:text="@string/userlabel"/&gt;
              &lt;TextView
                  android:id="@+id/User"
                  android:layout_alignBaseline="@id/UserLabel"
                  android:layout_alignParentRight="true"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="test"/&gt;
          &lt;/RelativeLayout&gt;
  
          &lt;View
              android:layout_gravity="center_horizontal"
              android:layout_width="fill_parent"
              android:layout_height="1dip"
              android:background="#808080"
              android:layout_marginTop="5px"
              android:layout_marginBottom="12px"/&gt;
  
          &lt;RelativeLayout
              android:gravity="center_vertical"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"&gt;
              &lt;TextView
              android:id="@+id/DescriptionLabel" 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="@string/desclabel"
              android:layout_marginTop="13px"/&gt;
              &lt;EditText 
              android:id="@+id/Description"
              android:layout_alignBaseline="@id/DescriptionLabel"
              android:layout_alignParentRight="true"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:width="180px"/&gt;
          &lt;/RelativeLayout&gt;
  
          &lt;RelativeLayout
              android:gravity="center_vertical"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"&gt;
              &lt;TextView
                  android:id="@+id/EmailLabel" 
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="@string/emaillabel"
                  android:layout_marginTop="13px"/&gt;
              &lt;EditText 
                  android:id="@+id/Email"
                  android:layout_alignBaseline="@+id/EmailLabel"
                  android:layout_alignParentRight="true"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:width="180px"/&gt;
          &lt;/RelativeLayout&gt;
  
          &lt;RelativeLayout
              android:gravity="center_vertical"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"&gt;
              &lt;TextView
                  android:id="@+id/MovilePhoneLabel"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="@string/movilephonelabel"
                  android:layout_marginTop="13px"/&gt;
              &lt;EditText 
                  android:id="@+id/MovilePhone"
                  android:layout_alignBaseline="@+id/MovilePhoneLabel"
                  android:layout_alignParentRight="true"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:width="180px"/&gt;
          &lt;/RelativeLayout&gt;
  
          &lt;View
              android:layout_gravity="center_horizontal"
              android:layout_width="fill_parent"
              android:layout_height="1dip"
              android:background="#808080"
              android:layout_marginTop="5px"
              android:layout_marginBottom="10px"/&gt;
  
  
          &lt;RelativeLayout
              android:gravity="center_vertical"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"&gt;
              &lt;Button
                  android:id="@+id/applybutton"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="@string/apply"
                  android:width="100px"
                  android:layout_marginLeft="40dip"/&gt;
              &lt;Button
                  android:id="@+id/cancelbutton"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="@string/cancel"
                  android:width="100px"
                  android:layout_alignBaseline="@+id/applybutton"
                  android:layout_alignParentRight="true"
                  android:layout_marginRight="40dip"/&gt;
          &lt;/RelativeLayout&gt;
      &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>