有没有一种方法来禁用的衰落,一个viewPager已经滚动到的边缘? [英] Is there a way to disable fading that a viewPager has scroll to edges?
本文介绍了有没有一种方法来禁用的衰落,一个viewPager已经滚动到的边缘?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
滚动视图具有沿边缘褪色蓝效果里没有的内容,并滚动到最后。我怎样才能关闭影响?
Scrollable views such as the ListView have a fade blue effect along the edges where there is no content and scroll to the end. How can I close the effect?
在列表视图,我可以使用:
at listview i can use :
setHorizontalFadingEdgeEnabled(false);
android:fadingEdge="none"
android:requiresFadingEdge="none"
但在viewPager没有用的,可以给我一些建议。
but at the viewPager not useful,can give me some advice
推荐答案
我有一个解决办法:
android:overScrollMode="never"
现在一切正常。我找到了解决办法这里。
Now everything is OK. I found the solution here.
这篇关于有没有一种方法来禁用的衰落,一个viewPager已经滚动到的边缘?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文