title: android horizontal image slider
body: <p>i'm trying to create an <code>image</code> <code>slider</code>, showing only one <code>image</code> per slide. 
  This is working good on &lt;= 5'' screens but when I go > 5'' the all the images appears side by side, showing more then one image per slide. This is the layout I'm using: </p>
  
  <pre><code>&lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="200dp" 
          android:layout_marginTop="10dp"
          android:layout_marginBottom="10dp"&gt;
  
          &lt;HorizontalScrollView
              android:id="@+id/slider"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_alignParentTop="true"
              android:layout_centerHorizontal="true" &gt;
  
              &lt;LinearLayout
                  android:layout_width="wrap_content"
                  android:layout_height="match_parent"
                  android:measureWithLargestChild="false"
                  android:orientation="horizontal" &gt;
  
                      &lt;ImageView
                          android:id="@+id/imageView1"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:src="@drawable/custodiastampante" /&gt;
  
                      &lt;ImageView
                          android:id="@+id/imageView2"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:src="@drawable/custodiastampante" /&gt;
  
              &lt;/LinearLayout&gt;
          &lt;/HorizontalScrollView&gt;
  
      &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>How can I show always only 1 image per slide? (Even if using another tecnique like <code>ViewPager</code> or <code>gallery</code>?</p>