Udostępnij za pośrednictwem


ScrollView.SmoothScrollTo(Int32, Int32) Method

Definition

Like #scrollTo, but scroll smoothly instead of immediately.

[Android.Runtime.Register("smoothScrollTo", "(II)V", "")]
public void SmoothScrollTo (int x, int y);
[<Android.Runtime.Register("smoothScrollTo", "(II)V", "")>]
member this.SmoothScrollTo : int * int -> unit

Parameters

x
Int32

the position where to scroll on the X axis

y
Int32

the position where to scroll on the Y axis

Attributes

Remarks

Like #scrollTo, but scroll smoothly instead of immediately.

Java documentation for android.widget.ScrollView.smoothScrollTo(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