/** * The amount of friction applied to flings. The default value is {@link * ViewConfiguration#getScrollFriction}. * * @param friction A scalar dimension-less value representing the coefficient of friction. */ public final void setFriction(float friction) { mScrollerX.setFriction(friction); mScrollerY.setFriction(friction); }