codelab-constraint-layout icon indicating copy to clipboard operation
codelab-constraint-layout copied to clipboard

ConstraintLayout inside NestedScrollView

Open iamdeveloper-lopez opened this issue 7 years ago • 6 comments

ConstraintLayout inside NestedScrollView add a space, example if you create a views inside your layout the height of all the views is the space added in the below of that constraint. Can explain why is this happening ? And what is the workaround to this issue.

This is same with this one : https://stackoverflow.com/q/43501646/4439129

This is over a year ago and still not yet fixed.

iamdeveloper-lopez avatar Feb 13 '18 04:02 iamdeveloper-lopez

I had de same issue. I implemented a custom view with a ConstraintLayout as a root. When you put it in a Scroll view it's adding like a margin of the same height than the last view in the nested layout.

ibracero avatar Apr 11 '18 13:04 ibracero

Is this fixed? I'm still facing this problem.

gowthamgts avatar Sep 12 '18 13:09 gowthamgts

Having same issue with ConstraintLayout inside NestedScrollView

4shadowr avatar Nov 09 '18 09:11 4shadowr

Same Issue Here as well please notify me if anyone has solution to this Thanks.

Sudhakaraks03 avatar Sep 05 '19 11:09 Sudhakaraks03

Has anyone a workaround for this?

omhack avatar Jan 25 '21 23:01 omhack

android:fillViewport="true" on the NestedScrollView solved it for me

nils-trubkin avatar Aug 23 '21 14:08 nils-trubkin