title: Widget Layout with layout_weight and Images give diffrent height
body: <p>I have problem with layout when I want have images with different width but this same height. When I use only images with this same width and height, layout_weight work properly. But when I add images with different width, it is not OK. The height on dot is different.</p>
  
  <p>Images have size: 141x191 [zero], and 28x191 [dot]. </p>
  
  <p>Images: <a href="http://i.stack.imgur.com/dAjOg.png" rel="nofollow">screen shot both layout. with one size images, and second with dot and different height</a></p>
  
  <p>If you see problem is when I add dot, because the height is different. I try resolve this problem 2days :/</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;LinearLayout    
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      &gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="141" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/zero" /&gt;
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="141" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/zero" /&gt;
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="141" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/zero" /&gt;
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="141" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/zero" /&gt;
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="141" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/zero" /&gt;
          &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  
  
  ---------- 
  
  Second
  
  &lt;LinearLayout    
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      &gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="141" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/zero" /&gt;
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="141" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/zero" /&gt;
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="28" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/dot2" /&gt;
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="141" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/zero" /&gt;
          &lt;/LinearLayout&gt;
          &lt;LinearLayout
              android:layout_width="0dp"
              android:layout_height="fill_parent"
              android:layout_weight="141" &gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_margin="0dip"
                  android:src="@drawable/zero" /&gt;
          &lt;/LinearLayout&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>When I use only imageview, without linearlaout to each images, problem is this same.</p>