View.SetLeftTopRightBottom(Int32, Int32, Int32, Int32) Method

Definition

Assign a size and position to this view.

[Android.Runtime.Register("setLeftTopRightBottom", "(IIII)V", "", ApiSince=29)]
public void SetLeftTopRightBottom (int left, int top, int right, int bottom);
[<Android.Runtime.Register("setLeftTopRightBottom", "(IIII)V", "", ApiSince=29)>]
member this.SetLeftTopRightBottom : int * int * int * int -> unit

Parameters

left
Int32

Left position, relative to parent

top
Int32

Top position, relative to parent

right
Int32

Right position, relative to parent

bottom
Int32

Bottom position, relative to parent

Attributes

Remarks

Assign a size and position to this view.

This method is meant to be used in animations only as it applies this position and size for the view only temporary and it can be changed back at any time by the layout.

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