Skip to content Skip to sidebar Skip to footer

Scrollview Not Scrolling Bottom Completely

Before you mark it duplicate, let me tell you that I have searched for every answer but all in vain. I am using Tabs with Actionbar. I have set android:layout_height='match_paren

Solution 1:

I think you should try NestedScrollView

<android.support.v4.widget.NestedScrollViewxmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"app:layout_behavior="@string/appbar_scrolling_view_behavior">

Just replace your ScrollView with this one

I am using it in my app and it works perfectly

Solution 2:

Try adding paddingBottom to your LinearLayout inside ScrollView.

If that doesn't work then try adding Space as last child of LinearLayout inside ScrollView like this:

<ScrollView
    <LinearLayout
       // otherviews

        <Spaceandroid:layout_width="match_parent"android:layout_height="required_spacing_in_dp" /></LinearLayout>
</ScrollView

Post a Comment for "Scrollview Not Scrolling Bottom Completely"