Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrollbar doesn't play nice with RecyclerView padding #38

Closed
hanggrian opened this issue Nov 19, 2018 · 1 comment
Closed

Scrollbar doesn't play nice with RecyclerView padding #38

hanggrian opened this issue Nov 19, 2018 · 1 comment

Comments

@hanggrian
Copy link

Great library! Thanks for early migration to AndroidX.

In this layout I'm working on, my scrollbar is half-hidden when bottom padding is set to the recycler view. Changing clipToPadding value seem to have no effect, while removing bottom padding resolve the issue.

screen shot 2018-11-19 at 17 31 06

@randr0id
Copy link
Member

Unfortunately because of the way that FastScroller aligns itself with the RecyclerView, it cannot adjust to the padding. Instead try using layout_marginBottom to adjust your layout.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants