title: Android layout centering in RelativeLayout for custom ListView
body: <p>I'm really pulling my hair out over this one. Some background. I have a list of items that all have checkboxes next to them. When you deselect a checkbox, a button appears that allows you to delete the item from the list. This seems backwards at first but we only want "selected" items to be eligible for further processing, etc. This is my layout:</p>
  
  <pre><code>&lt;RelativeLayout android:id="@+id/rlBlahBlah" 
                  android:layout_width="fill_parent" 
                  android:layout_height="wrap_content"
                  android:minHeight="?android:attr/listPreferredItemHeight"
                  xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;CheckBox android:text="" 
              android:id="@+id/cbDeleteItem" 
              android:layout_width="wrap_content" 
              android:layout_height="wrap_content"
              android:layout_gravity="center_vertical"
              android:focusable="false"
              /&gt;
    &lt;TextView android:text="" 
              android:id="@+id/tvItemText" 
              android:layout_width="wrap_content" 
              android:layout_height="wrap_content" 
              android:textSize="14dip"
              android:paddingLeft="3dip"
              android:paddingRight="3dip"
              android:paddingTop="13dip"
              android:gravity="fill_vertical"
              android:layout_toRightOf="@id/cbDeleteItem"
              /&gt;
    &lt;Button android:layout_height="wrap_content" 
            android:id="@+id/btnDelete" 
            android:text="Delete" 
            android:layout_width="wrap_content"
            android:layout_alignParentRight="true"
            android:gravity="center_vertical"
            android:focusable="false"
            /&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>I cannot get the 3 items to center vertically in my row to save my life. <code>layout_gravity</code>, <code>gravity</code>, <code>layout_centerVertical</code>, none of it works. I'm sure my issue is some tiny setting to flip somewhere, but I'm really at wits end on this.</p>
  
  <p>edit: I know the textview is "fill_vertical", that's some random stuff I was trying.</p>