Sdílet prostřednictvím


View.OffsetTopAndBottom(Int32) Method

Definition

Offset this view's vertical location by the specified number of pixels.

[Android.Runtime.Register("offsetTopAndBottom", "(I)V", "GetOffsetTopAndBottom_IHandler")]
public virtual void OffsetTopAndBottom (int offset);
[<Android.Runtime.Register("offsetTopAndBottom", "(I)V", "GetOffsetTopAndBottom_IHandler")>]
abstract member OffsetTopAndBottom : int -> unit
override this.OffsetTopAndBottom : int -> unit

Parameters

offset
Int32

the number of pixels to offset the view by

Attributes

Remarks

Offset this view's vertical location by the specified number of pixels.

Java documentation for android.view.View.offsetTopAndBottom(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