title: Align to center muitple ImageViews side to side in a LinearLayout
body: <p>So, what I'm trying to get is something like:</p>
  
  <pre><code>img1                  img2                  img3
                         |
                         |
       I want it to be centered in this ImageView
  </code></pre>
  
  <p>Though what I'm getting is something like:</p>
  
  <pre><code>img 1                 img2                  img3
   |
   | 
  It is centered in this ImageView
  </code></pre>
  
  <p>I've read a lot of questions like this one in this site but nothing helped me! I've seen people using <code>android:gravity="center"</code> or <code>android:layout_gravity="center"</code>. Nothing has helped me! I don't know what's the best option that I have. I would be grateful if someone helped me!</p>
  
  <p>Here is my .xml file:</p>
  
  <pre><code>   &lt;HorizontalScrollView
      android:id="@+id/scrlVPrincipal"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      app:layout_constraintBottom_toBottomOf="parent"
      app:layout_constraintTop_toTopOf="parent"
      tools:layout_editor_absoluteX="0dp"&gt;
  
      &lt;LinearLayout
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:orientation="horizontal"&gt;
  
          &lt;ImageView
              android:id="@+id/imgCard1"
              android:layout_width="259dp"
              android:layout_height="390dp"
              android:layout_marginBottom="8dp"
              android:layout_marginEnd="8dp"
              android:layout_marginStart="8dp"
              android:layout_marginTop="8dp"
              android:layout_weight="1"
              app:layout_constraintBottom_toBottomOf="parent"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintHorizontal_bias="0.504"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toTopOf="parent"
              app:layout_constraintVertical_bias="0.801"
              /&gt;
  
          &lt;ImageView
              android:id="@+id/imgCard2"
              android:layout_width="259dp"
              android:layout_height="390dp"
              android:layout_marginBottom="8dp"
              android:layout_marginEnd="8dp"
              android:layout_marginStart="8dp"
              android:layout_marginTop="8dp"
              android:layout_weight="1"
              app:layout_constraintBottom_toBottomOf="parent"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintHorizontal_bias="0.0"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toTopOf="parent"
              app:layout_constraintVertical_bias="0.8" /&gt;
  
          &lt;ImageView
              android:id="@+id/imgCard3"
              android:layout_width="259dp"
              android:layout_height="390dp"
              android:layout_marginBottom="8dp"
              android:layout_marginEnd="8dp"
              android:layout_marginStart="8dp"
              android:layout_marginTop="8dp"
              android:layout_weight="1"
              app:layout_constraintBottom_toBottomOf="parent"
              app:layout_constraintEnd_toEndOf="parent"
              app:layout_constraintHorizontal_bias="0.0"
              app:layout_constraintStart_toStartOf="parent"
              app:layout_constraintTop_toTopOf="parent"
              app:layout_constraintVertical_bias="0.8" /&gt;
  
      &lt;/LinearLayout&gt;
  &lt;/HorizontalScrollView&gt;
  </code></pre>