title: Android ScrollView with RelativeLayout does not work
body: <p>I have a problem with my Android project.</p>
  
  <p>I created a view with a list of images and on a Nexus 5 screen I can see all these images, but on a smallest phone some of these images are overlapping.</p>
  
  <p>So I decided to insert a ScrollView but I see lots of errors.</p>
  
  <p>I found lots similar question but nothing works for me.</p>
  
  <p>Can someone help me?</p>
  
  <p>Without ScrollView this is the code that works fine:</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/ScrollView01"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:fillViewport="true"
  android:scrollbars="none" &gt;
  
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="#ff0088ff"
  android:clickable="false"&gt;
  
  
  
  &lt;ImageView
      android:layout_width="70dp"
      android:layout_height="70dp"
      android:id="@+id/imageView"
      android:src="@drawable/icona_pr"
      android:layout_marginLeft="28dp"
      android:contentDescription="@string/icona_pr"
      android:onClick="apriPreliminare"
      android:layout_alignParentTop="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentStart="true" /&gt;
  
  &lt;ImageView
      android:layout_width="70dp"
      android:layout_height="70dp"
      android:id="@+id/imageView2"
      android:src="@drawable/icona_p"
      android:contentDescription="@string/icona_p"
      android:onClick="apriPesantezza"
      android:layout_above="@+id/imageView3"
      android:layout_alignLeft="@+id/imageView"
      android:layout_alignStart="@+id/imageView" /&gt;
  
    [...]
  &lt;/RelativeLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>When in Android Studio I select the Design Tab to see a preview I see a longer screen. On a Nexus 5 It seems to works fine, nothing change, but on a Galaxy S2 The first 2 ImageView are overlapping.</p>