How to add space below scroll view

If you want the scrolling margin to be within the content, it would be best to add it to content_form. You should be able to accomplish this by either adding paddingBottom to your parent container in that layout, or layout_marginBottom on your last view aligned to the parent bottom.


This make padding under the last item in scroll view. may be good for you

 <androidx.core.widget.NestedScrollView
    android:layout_width="match_parent"
    android:paddingBottom="80dp"
    android:clipToPadding="false"
    android:layout_height="match_parent">