'How to make Listview's Scroll slower?
Scroll of my listview is very fast. I want to customize this and want to make it slower. I tried set android:fastscrollenabled="false"
but it does not solve this problem.
My device is Samsung Galaxy S2.
Can someone help me?
Solution 1:[1]
Please use setFriction(float) method of ListView. Because default friction value could differ between devices, it's better to use base value from ViewConfiguration.getScrollFriction()
Example:
setFriction(ViewConfiguration.getScrollFriction() * 2);
Solution 2:[2]
check
http://developer.android.com/reference/android/widget/AbsListView.html#setFriction(float)
mListView.setFriction(0.005f);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 | thefourtheye |