title: How to rowspans and vertical alignment?
body: <p>I'm trying to make a row layout with 2 columns like in this image <a href="http://oi56.tinypic.com/1z2g9k9.jpg" rel="nofollow">http://oi56.tinypic.com/1z2g9k9.jpg</a></p>
  
  <p><strong>Summary</strong></p>
  
  <p>The goal is to have 2 columns. The right column has a rowspan of 2 so that the icon inside is middle vertical aligned to the 2 rows of text of the left column.</p>
  
  <p><strong>Try</strong></p>
  
  <p>What I have so far is a Linear Layout containing a Relative Layout (to align two text rows) and an ImageView for the icon:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="horizontal"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"&gt; 
      &lt;RelativeLayout
          android:id="@+id/relativeLayoutLeft"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:padding="5dip"&gt;
          &lt;TextView
              android:textAppearance="?android:attr/textAppearanceLarge"
              android:layout_height="wrap_content"
              android:text="TextView"
              android:layout_width="wrap_content"
              android:id="@+id/BigText" 
              android:layout_marginLeft="2dip"&gt;
          &lt;/TextView&gt; 
          &lt;TextView
              android:layout_height="wrap_content"
              android:text="TextView"
              android:layout_width="wrap_content"
              android:id="@+id/SmallText" 
              android:layout_below="@+id/BigText"
              android:layout_marginLeft="2dip"&gt;
          &lt;/TextView&gt;
  
      &lt;/RelativeLayout&gt;
      &lt;ImageView
          android:layout_width="50dip"
          android:layout_height="50dip"
          android:id="@+id/Icon"
          android:src="@drawable/icon"
          android:layout_gravity="right"
          android:scaleType="center"&gt;
      &lt;/ImageView&gt;  
  &lt;/LinearLayout&gt;        
  </code></pre>
  
  <p><strong>Problem</strong></p>
  
  <p>The problem is that the RelativeLayout has 100% width and the image is outside of the screen. 
  If it is changed from fill_parent to wrap_content, the image is not aligned to the right edge of the screen (because the left column width is not always 90% or so).</p>