title: Android TableLayout with weights on rows
body: <p>im trying to create a table and add the same space to columns in table. My code is below, but my second collumn doesnt have the same space like first one.
  Like you see on image that i posted below too, the first row(header) doesnt have the same space than the body(second row).</p>
  
  <p>Hope someone can help me to undesratnd what is wrong with this</p>
  
  <p><img src="https://i.stack.imgur.com/RyB1d.png" alt="Result is this"></p>
  
  <p>What i want</p>
  
  <p><img src="https://i.stack.imgur.com/v1L3B.png" alt="enter image description here"></p>
  
  <p>And my code is:</p>
  
  <pre><code>&lt;TableLayout
          android:layout_width="match_parent"
          android:layout_height="0dp"&gt;
  
          &lt;TableRow
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:weightSum="1" &gt;
  
              &lt;TextView
                  android:layout_height="match_parent"
                  android:layout_weight="0.6" /&gt;
  
              &lt;ImageView
                  android:layout_height="wrap_content"
                  android:layout_weight="0.1"/&gt;
  
              &lt;ImageView
                  android:layout_height="wrap_content"
                  android:layout_weight="0.1" /&gt;
  
              &lt;ImageView
                  android:layout_height="wrap_content"
                  android:layout_weight="0.1"" /&gt;
  
              &lt;ImageView
                  android:layout_height="match_parent"
                  android:layout_weight="0.1" /&gt;
          &lt;/TableRow&gt;
  
          &lt;ScrollView
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
                &gt;
  
              &lt;TableLayout
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  &gt;
  
                  &lt;TableRow
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:weightSum="1" &gt;
  
                      &lt;TextView
                          android:layout_height="0dp"
                          android:layout_weight="0.6" /&gt;
  
                      &lt;ImageView
                          android:layout_height="0dp"
                          android:layout_weight="0.1" /&gt;
  
                      &lt;ImageView
                          android:layout_height="0dp"
                          android:layout_weight="0.1" /&gt;
  
                      &lt;ImageView
                          android:layout_height="0dp"
                          android:layout_weight="0.1" /&gt;
  
                      &lt;ImageView
                          android:layout_height="0dp"
                          android:layout_weight="0.1" /&gt;
                  &lt;/TableRow&gt;
  
                  &lt;TableRow
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:weightSum="1" &gt;
  
                      &lt;RelativeLayout
                          android:layout_height="wrap_content"
                          android:layout_weight="0.6" &gt;        
  
                          &lt;TextView
                         android:layout_width="wrap_content"
                          android:layout_height="wrap_content" 
                         /&gt;
  
                      &lt;/RelativeLayout&gt;
  
                      &lt;TextView
                          android:layout_height="wrap_content"
                          android:layout_weight="0.1" /&gt;
  
                      &lt;TextView
                          android:layout_height="wrap_content"
                          android:layout_weight="0.1" /&gt;
  
                      &lt;TextView
                          android:layout_height="wrap_content"
                          android:layout_weight="0.1" /&gt;
  
                      &lt;TextView
                          android:layout_height="wrap_content"
                          android:layout_weight="0.1" /&gt;
                  &lt;/TableRow&gt;
              &lt;/TableLayout&gt;
          &lt;/ScrollView&gt;
      &lt;/TableLayout&gt;
  </code></pre>