Comment l'espace des éléments dans un LinearLayout?

Je veux créer une barre d'outils qui ressemble à:

Comment l'espace des éléments dans un LinearLayout?

Comment puis-je le faire en XML? Voici ce que le mien ressemble actuellement:

<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/toolbarLinearLayout" android:background="@color/solid_yellow">
        <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/replyButton" android:text="Reply"></Button>
        <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="RT" android:id="@+id/rtButton"></Button>
        <Button android:id="@+id/dmButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="DM"></Button>
    </LinearLayout>

OriginalL'auteur Sheehan Alam | 2011-05-23