Question:
The GridView is open to the bottom half of the screen, there is a picture with a description (static) at the top, but when it becomes necessary to scroll the GridView, it scrolls only to the floor of the lower screen. How to make it so that when the GridView scrolls, the top elements of the page smoothly disappear, and the grid becomes scrollable to full screen?
Answer:
Put in ScrollView
those only GridView
but also ImageView
. Only this is done with LinearLayout
<ScrollView>
<LinearLayout>
<ImageView>
</ImageView>
<GridView>
</GridView>
</LinearLayout>
</ScrollView>