title: Android view does not show up
body: <p>I have this layout in my application, the problem is, the <code>ImageView</code> which has the ID <code>overlay</code>, does not show up over the others, and when I check the layout with Android SDK Hierarchy viewer tool, that <code>ImageView</code> has 0 height, placed at the bottom of the layout. What am I missing? Or what is the reason?</p>
  
  <p>Thanks.</p>
  
  <p><strong>NOTE:</strong> This problem does not occur when I replace that view with a <code>Button</code> in the same condition. But it occurs with a <code>View</code>, or <code>ImageView</code>.</p>
  
  <p><strong>EDIT:</strong> I am using mentioned <code>ImageView</code> to make the whole view a bit reddish, and I'm using it as a <code>ListView</code> item.</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" &gt;
  
      &lt;TextView
          android:id="@+id/label"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_toLeftOf="@+id/image" /&gt;
  
      &lt;ImageView
          android:id="@id/image"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentRight="true"/&gt;
  
      &lt;ImageView
          android:id="@+id/overlay"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_alignParentBottom="true"
          android:layout_alignParentLeft="true"
          android:layout_alignParentRight="true"
          android:layout_alignParentTop="true"
          android:background="#77ff0000" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>