Vous pouvez le faire comme ceci:
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#AAFFFFFF">
<ImageButton android:src="@drawable/left_arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"/>
<TextView android:text="@string/your_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentCenter="true"/>
<ImageButton android:src="@drawable/right_arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"/>
</RelativeLayout>
attention à la couleur que je pris android:background
. Cela pourrait être faux.