Scrollview with a static view in the middle

Asked

Viewed 38 times

0

I have this layout in which I need to implement a Scrollview but I can’t adjust in a correct way, I need Scrollview to contemplate the blue and yellow part, so the user can see the rest of the items they have in recyclerview. But as soon as he slides the "Static textview" needs to go up and always be visible on the screen, as shown in the second image, someone has an idea of how to do this?

inserir a descrição da imagem aqui Pós scroll

  • You’ve tried to do so.... takes 3 linear layout, mounts according to what Voce wants (horizontal or vertical) and positions one below the other, according to the image will stay in second and in the second vc puts a scroll in it with the contents inside... do not know but can work this way, I hope it helps you. that’s an idea

  • Do you want to style this gif here? http://saulmm.github.io/mastering-coordinator

  • Thanks for the Rebounds, this scheme with the 3 linear layouts doesn’t work, because scrollview needs to encompass everything except this middle view. @Mr_anderson I thought of using Coordinator, but in the case here we don’t have a Toolbar and this Static view won’t rise to Toolbar’s place, it would be below.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.