I want to create a toolbar that looks like:

How can I do this in XML? Here is what mine looks like currently:
<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>
Looks like you might want the padding attribute of the LinearLayout, e.g.
To get the items to each take up the same amount of space, use layout_weight, e.g.
As long as all the elements have the same weight they should take up the same space. layout_width=”fill_parent” will ensure the whole bar is filled.