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

requiresFadingEdge doesn't work #34

Closed
hfeky opened this issue Jul 10, 2017 · 1 comment
Closed

requiresFadingEdge doesn't work #34

hfeky opened this issue Jul 10, 2017 · 1 comment

Comments

@hfeky
Copy link

hfeky commented Jul 10, 2017

I tried adding android:requiresFadingEdge="vertical|horizontal" to DiscreteScrollView in xml, but it had no effect. How can I add fading edge to it?

@yarolegovich
Copy link
Owner

If you meant a fading edge which appears during overscroll, then it's enabled by default. In 1.4.3 I added an API to disable the effect via xml:

android:overScrollMode="never"

and programmatically:

scrollView.setOverScrollEnabled(false);

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