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

Respect clipToPadding="false" #104

Open
zhanghai opened this issue May 28, 2019 · 1 comment · May be fixed by #111
Open

Respect clipToPadding="false" #104

zhanghai opened this issue May 28, 2019 · 1 comment · May be fixed by #111

Comments

@zhanghai
Copy link
Contributor

While respecting paddingTop/Bottom is good, RecyclerView does draw in the padding if clipToPadding="false" is specified (and this is important for use cases like reserving some bottom space for a FAB, so that the last list item can always scroll above it and be fully visible). In this case the library should also draw in the padding. That is, the fix in 472ee5f should be applied only when View.getClipToPadding() is true.

@jahirfiquitiva jahirfiquitiva linked a pull request May 15, 2020 that will close this issue
@alexandermarinissen
Copy link

Does this also fix the touch issues? Currently, with clipToPadding="false", the scroller is drawn correctly (with the same padding), but it still treats touch input as though there is no padding (and thus you have to drag your finger further than where the scroller is drawn).

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

Successfully merging a pull request may close this issue.

2 participants