Use LinearLayout with alignParentBottom = "true"
Something like that:
<RelativeLayout android:id="@+id/mainLyt" android:layout_width="fill_parent" android:layout_height="fill_parent"> <ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_above="@+id/bottomBar"> </ScrollView> <LinearLayout android:id="@+id/bottomBar" android:layout_height="wrap_content" android:layout_width="fill_parent" android:orientation="horizontal" android:layout_alignParentBottom="true"> </LinearLayout> </RelativeLayout>
I did not try to compile, you may have to correct some typos, but this is the main idea with which you can achieve what you are trying to do.
source share