title: Horizontal ScrollView not work in android
body: <p>i want to make a Horizontal ScrollView but it show only 1 image and other images is hide but when is vertical is work good. i want it show in Horizontal and not hide. this is my xml code :</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/activity_main"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"&gt;
  &lt;ImageView
      android:layout_width="100dp"
      android:layout_height="110dp"
      app:srcCompat="@mipmap/ic_launcher"
      android:id="@+id/ivgallery"
      tools:ignore="ContentDescription"/&gt;
  &lt;ImageView
      android:layout_width="100dp"
      android:layout_height="100dp"
      app:srcCompat="@android:drawable/btn_dialog"
      android:id="@+id/ivupload"
      tools:ignore="ContentDescription"/&gt;
  
  &lt;ScrollView
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:scrollbars="horizontal"&gt;
          &lt;LinearLayout
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:orientation="horizontal"
          android:layout_gravity="center_horizontal"
          android:id="@+id/linearmain"/&gt;
  &lt;/ScrollView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>and this is my java code :</p>
  
  <pre><code>Bitmap bitmap = PhotoLoader.init().from(photopath).requestSize(512, 512).getBitmap();
  final ImageView imageView = new ImageView(getApplicationContext());
  LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
  imageView.setLayoutParams(layoutParams);
  imageView.setMaxWidth(250);
  imageView.setMaxHeight(250);
  imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
  imageView.setPadding(0, 10, 0, 0);
  imageView.setAdjustViewBounds(true);
  imageView.setImageBitmap(bitmap);
  </code></pre>