EverythingMe / overscroll-decor

Android: iOS-like over-scrolling effect applicable over almost all scrollable Android views.
BSD 2-Clause "Simplified" License
2.85k stars 400 forks source link

Scrolling issue #80

Closed ilyassesalama closed 3 years ago

ilyassesalama commented 3 years ago

When over scrolling from bottom using RecyclerView or ScrollView, the content shows above the first layout (I'm not good at explaining, but the image is enough to explain the issue) IMG_20210212_045928

Krupson commented 3 years ago

You should rearrange views in your XML layout file. Views declared on top of file are "overlayed" by the views declared at the bottom. Simply move RecyclerView declaration to be before the declaration of the search view.

d4vidi commented 3 years ago

Also, android:clipChildren may come in handy.