title: Android - Vertical and Horizontal WeightSum
body: <p>I want to put 4 images on the screen dividing in quadrants and put some text on top of each picture. </p>
  
  <p><strong>I'm know how to use weightsum in either horizontal or vertical, NOT BOTH.</strong></p>
  
  <p><a href="https://i.gyazo.com/7da3f36002aeeb96e06108c7c8789b48.png" rel="nofollow noreferrer">WeightSum</a></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  tools:context="com.example.tiagosilva.amob_android.ProductsFragment"
  android:background="@color/AMOB_gray"
  android:weightSum="2"
  android:orientation="vertical"
  android:padding="15dp"&gt;
  
  &lt;ImageView
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_weight="1"
      android:id="@+id/img_tube_bending"
      android:src="@drawable/fully_electric"
      android:layout_marginRight="5dp"/&gt;
  
  &lt;ImageView
      android:layout_width="match_parent"
      android:layout_height="0dp"
      android:layout_weight="1"
      android:id="@+id/img_section_bending_rolls"
      android:src="@drawable/section_bending_rolls"
      android:layout_marginLeft="5dp"/&gt;
  </code></pre>
  
  <p></p>