title: Android: ScrollView in vertical LinearLayout
body: <p>I'm making an app for Android device and I'm trying to have a ScrollView inside a LinearLayout but when I try to do this the ScrollView take all the space and elements who are after the ScrollView in the LinearLayout disapear.  </p>
  
  <p>For example:<br>
  If the ScrollView is not "full":<br>
  <a href="https://i.stack.imgur.com/AaXRf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AaXRf.jpg" alt="http://kakko76.free.fr/scroll2.jpg"></a><br>
  If the ScrollView is "full":<br>
  <a href="https://i.stack.imgur.com/lTvr3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lTvr3.png" alt="http://kakko76.free.fr/scroll1.png"></a></p>
  
  <p>As you can see the button disapear...<br>
  Here is the code of this Activity:  </p>
  
  <pre><code>&lt;LinearLayout
      android:id="@+id/linearLayout1"
      android:layout_width="fill_parent"
      android:layout_marginLeft="50dp"
      android:layout_height="wrap_content"
      android:layout_centerHorizontal="true"
      android:layout_centerVertical="true"
      android:orientation="vertical"
      android:focusable="true"
      android:focusableInTouchMode="true"
      android:background="@drawable/linearlayoutbackground" &gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/nom_des_joueurs"
          android:textAppearance="?android:attr/textAppearanceLarge"
          android:layout_marginBottom="30dp" /&gt;
  
      &lt;ScrollView
          android:id="@+id/scrollView1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;LinearLayout
              android:id="@+id/llPlayersName"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"
               &gt;
  
          &lt;/LinearLayout&gt;
  
      &lt;/ScrollView&gt;
  
      &lt;Button
          android:id="@+id/okPlayersName"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:text="@string/ok"
          android:background="@drawable/backgroundbutton"
          android:layout_marginTop="30dp" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>After I add elements in the LinearLayout who are in the ScrollView.<br>
  Any solution?<br>
  Thanks.</p>