Use the text box.
<TextView android:id="@+id/textViewHelper" android:layout_width="0dp" android:layout_height="0dp" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" />
Then add two buttons or only one of them to the left and / or to the right of it.
<Button android:id="@+id/saveList" style="?android:attr/buttonStyleSmall" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_alignTop="@+id/deleteAllPlaylists" android:layout_toRightOf="@+id/textViewHelper" android:text="@string/save_temp_playlist" /> <Button android:id="@+id/deleteAllPlaylists" style="?android:attr/buttonStyleSmall" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" android:layout_toLeftOf="@+id/textViewHelper" android:text="@string/delete_all_playlists" />
an answer was found here
My first post on the stack, I hope I helped XD
source share