Condividi tramite


View.OffsetLeftAndRight(Int32) Method

Definition

Offset this view's horizontal location by the specified amount of pixels.

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

Parameters

offset
Int32

the number of pixels to offset the view by

Attributes

Remarks

Offset this view's horizontal location by the specified amount of pixels.

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