RelativeLayout: aligner la vue centrée horizontalement ou verticalement par rapport à l'autre vue

Est-il possible d'aligner une vue en XML dans un RelativeLayout centrée horizontale ou à la verticale selon un autre de voir déjà existante.

Par exemple: permet de dire il y a quelque chose comme ceci:

RelativeLayout: aligner la vue centrée horizontalement ou verticalement par rapport à l'autre vue

Le deuxième texte doit être affiché centré au-dessous de la première vue du texte:

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <TextView
        android:id="@+id/textView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentLeft="true"
        android:layout_marginLeft="72dp"
        android:text="dynamic text" />

    <TextView
        android:id="@+id/second"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@id/textView"
        android:layout_marginLeft="43dp" <!-- Is there a rule to center it? -->
        android:text="centered below text 1" />

</RelativeLayout>

Est possible de mettre en place quelque chose comme ça en XML? Est-il une règle que j'ai manqué? Je ne veux pas le calcul de la position par programme

source d'informationauteur sockeqwe