Comment puis-je aligner le centre vertical de l'image dans une disposition linéaire

J'ai le schéma suivant, qui est de 1 sur l'icône de la gauche et 2 texte (les empiler les uns des autres) sur la droite. Je voudrais avoir le texte1 à la verticale du centre dans le panneau et quand je fais le texte2 Visible.DISPARU. Pouvez-vous s'il vous plaît dites-moi comment puis-je le faire?

<RelativeLayout android:id="@+id/panel"
        android:layout_width="fill_parent"
        android:layout_height="?android:attr/listPreferredItemHeight">
    <ImageView
        android:id="@+id/icon1"
        android:layout_width="wrap_content"
        android:layout_height="fill_parent"
        android:layout_gravity="center_vertical"/>
    <TextView android:id="@+id/text1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toRightOf="@id/icon1"
        android:textAppearance="?android:attr/textAppearanceSmall"
        android:layout_gravity="center_vertical"/>
    <TextView android:id="@+id/text2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_toRightOf="@id/icon1"
        android:layout_below="@id/text1"
        android:textAppearance="?android:attr/textAppearanceSmall"/>
    </RelativeLayout>

source d'informationauteur hap497 | 2010-01-21