I have a FrameLayout inside a NestedScrollView, as
Check This Solution Use fillViewport="true" this attribute causes the scroll view’s child to expand to the height of the ScrollView if needed. When the child is taller than the ScrollView, the attribute has no effect.
fillViewport="true"