Skip to content Skip to sidebar Skip to footer

Scrollview Adds Extra Space On Top

I am using a TextView nested inside a ScrollView. Scrolling works fine, but the ScrollView seems to add an extra padding on the top of the TextView that looks like this:

Solution 1:

The problem got solved here:

Layout margin/padding at the top of dialog fragment

The problem was the window title which can be removed by setting:

getWindow().requestFeature(Window.FEATURE_NO_TITLE);

Post a Comment for "Scrollview Adds Extra Space On Top"