Does anyone know how to do this?
Use a LinearLayout with alignParentBottom="true"
Something like this:
<RelativeLayout
android:id="@+id/mainLyt"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<!-- Some layout things -->
<ScrollView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_above="@+id/bottomBar">
<!-- some scrolling content -->
</ScrollView>
<LinearLayout
android:id="@+id/bottomBar"
android:layout_height="wrap_content"
android:layout_width="fill_parent"
android:orientation="horizontal"
android:layout_alignParentBottom="true">
<!-- Some Buttons -->
</LinearLayout>
</RelativeLayout>
I didn't try to compile, you might have to fix some typos but this is a basic idea with which you can achieve what you are trying to do.