What is the benefit of fillViewPort
?
In ScrollView
, sometimes fillViewPort
needs to be set to true
so that the view gets displayed properly, and other times it's not needed at all.
And the documentations' description of it is not really clear
android:fillViewport
Defines whether the scrollview should stretch its content to fill the viewport.