Share via


HorizontalScrollView.SmoothScrollBy(Int32, Int32) Method

Definition

Like View#scrollBy, but scroll smoothly instead of immediately.

[Android.Runtime.Register("smoothScrollBy", "(II)V", "")]
public void SmoothScrollBy (int dx, int dy);
[<Android.Runtime.Register("smoothScrollBy", "(II)V", "")>]
member this.SmoothScrollBy : int * int -> unit

Parameters

dx
Int32

the number of pixels to scroll by on the X axis

dy
Int32

the number of pixels to scroll by on the Y axis

Attributes

Remarks

Like View#scrollBy, but scroll smoothly instead of immediately.

Java documentation for android.widget.HorizontalScrollView.smoothScrollBy(int, int).

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.

Applies to