turing-tech / MaterialScrollBar

An Android library that brings the Material Design 5.1 sidebar to pre-5.1 devices.
Apache License 2.0
778 stars 126 forks source link

Library doesn't respect recyclerview's vertical padding, as well as item's vertical margin #123

Closed DarkMinstrel closed 6 years ago

DarkMinstrel commented 6 years ago

As soon as I add some, scroll thumb position gets calculated wrong.

turing-tech commented 6 years ago

Confirmed and reproduced. This issue should be closed by a forthcoming commit today or tomorrow.

DarkMinstrel commented 5 years ago

RecyclerView's padding works differently depending on android:clipToPadding attribute. Make sure to cover both variants.