GridView is opened on the lower half of the screen, at the top are a picture with a description (static), but when it is necessary to scroll the GridView, it scrolls only to the bottom of the lower screen. How to make it so that when you scroll the GridView, the top elements of the page are smoothly removed, and the grid becomes scrollable to full screen?

    2 answers 2

    Put in the ScrollView only those GridView but also ImageView . Only this is done using LinearLayout

     <ScrollView> <LinearLayout> <ImageView> </ImageView> <GridView> </GridView> </LinearLayout> </ScrollView> 
    • one
      Are there any problems with the fact that the GridView is also scrolling and will start to conflict with ScrollView? - Yuriy SPb

    https://stackoverflow.com/questions/8481844/gridview-height-gets-cut

    There is an answer. Everything is decided by scrollview + improved gridview))