Scroller.SetFriction(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The amount of friction applied to flings.
[Android.Runtime.Register("setFriction", "(F)V", "")]
public void SetFriction (float friction);
[<Android.Runtime.Register("setFriction", "(F)V", "")>]
member this.SetFriction : single -> unit
Parameters
- friction
- Single
A scalar dimension-less value representing the coefficient of friction.
- Attributes
Remarks
The amount of friction applied to flings. The default value is ViewConfiguration#getScrollFriction
.
Java documentation for android.widget.Scroller.setFriction(float)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.