title: ScrollView goes on top of another layout Android
body: <p>In the following code I've got two main containers, a RelativeLayout and a ScrollView. I need the RelativeLayout to be on top fixed and below that I need the ScrollView with Images to be scrollable. I've got the following two questions:</p>
  
  <ol>
  <li>Though my ScrollView is scrollable but it goes on top of the RelativeLayout. !important</li>
  <li><p>The view of my images present within the vertical LinearLayout are thumbnail sized. If I have 15-20 images, they take a lot of vertical space. How do I have the images to fit the maximum in a row based on the screen size and then go to the next row? </p>
  
  <pre><code>&lt;RelativeLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"&gt;
      &lt;/LinearLayout&gt;
  &lt;/RelativeLayout&gt;
  
  &lt;ScrollView
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"&gt;
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:orientation="vertical"&gt;
  
          &lt;ImageView&gt;
          &lt;/ImageView&gt;
  
          &lt;ImageView&gt;
          &lt;/ImageView&gt;
  
          &lt;ImageView&gt;
          &lt;/ImageView&gt;
  
          &lt;ImageView&gt;
          &lt;/ImageView&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre></li>
  </ol>