title: Multiple linear layout with Scroll view?
body: <p>What I'm trying to achieve is this:</p>
  
  <p><a href="https://i.stack.imgur.com/zxM3F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zxM3F.png" alt="enter image description here"></a></p>
  
  <p>But what I have is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
  
      android:layout_width="290dp"
      android:layout_height="490dp"
      android:layout_marginLeft="35dp"
      android:layout_marginTop="40dp"
      android:background="#2a873e"
      tools:context="com.sumo.traffic.PlacesFilters"
      android:orientation="vertical"&gt;
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal" &gt;
  
          &lt;Button
              android:id="@+id/button1"
              android:layout_width="0px"
              android:layout_height="wrap_content"
              android:layout_weight="0.4"
              android:text="Button" /&gt;
  
          &lt;Button
              android:id="@+id/button2"
              android:layout_width="0px"
              android:layout_height="wrap_content"
              android:layout_weight="0.6"
              android:text="Button" /&gt;
  
      &lt;/LinearLayout&gt;
  
  
      &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="wrap_content"
          android:orientation="horizontal" &gt;
  
          &lt;Button
              android:id="@+id/button3"
              android:layout_width="0px"
              android:layout_height="wrap_content"
              android:layout_weight="0.4"
              android:text="Button" /&gt;
  
          &lt;Button
              android:id="@+id/button4"
              android:layout_width="0px"
              android:layout_height="wrap_content"
              android:layout_weight="0.6"
              android:text="Button" /&gt;
  
      &lt;/LinearLayout&gt;
  
  
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>When applying scroll view it shows that the scroll view can only host one single layout.
  Would there be another possible way to produce what I want to achieve?</p>
  
  <p>I'm putting more than 10 buttons in a single activity that's why i need a scrollview in my layout. </p>