I have been having trouble getting this LinearLayout to move to the vertical center of the RelativeLayout which is it's parent. I have tried many methods and maybe I am using the wrong one but I am not sure. Can someone just check it over to see what I need to add. Thanks. There is some TextViews to the right of the LinearLayout but I didn't include them as you don't require them but just remember the layout needs to be in the vertical center of the RelativeLayout and not in the complete center.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/background_card"
android:orientation="horizontal"
android:padding="5dip" >
<!-- ListRow Left sied Thumbnail image -->
<LinearLayout android:id="@+id/thumbnail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="3dip"
android:layout_alignParentLeft="true"
android:gravity="center"
android:background="@drawable/image_bg"
android:layout_marginRight="5dip">
<ImageView
android:id="@+id/list_image"
android:layout_width="50dip"
android:layout_height="50dip"
android:src="@drawable/thumb"/>
</LinearLayout>