It depends on the layout you use.
In RelativeLayout there is
android:layout_alignParentBottom="true"
In the LinearLayout, place it at the bottom and make sure the layoutsweight elements are set correctly.
Also check property
android:layout_gravity
and notice that it is different from
android:gravity
source share