Share via


ViewStructure.SetDimens(Int32, Int32, Int32, Int32, Int32, Int32) Method

Definition

Set the basic dimensions of this view.

[Android.Runtime.Register("setDimens", "(IIIIII)V", "GetSetDimens_IIIIIIHandler", ApiSince=23)]
public abstract void SetDimens (int left, int top, int scrollX, int scrollY, int width, int height);
[<Android.Runtime.Register("setDimens", "(IIIIII)V", "GetSetDimens_IIIIIIHandler", ApiSince=23)>]
abstract member SetDimens : int * int * int * int * int * int -> unit

Parameters

left
Int32

The view's left position, in pixels relative to its parent's left edge.

top
Int32

The view's top position, in pixels relative to its parent's top edge.

scrollX
Int32

How much the view's x coordinate space has been scrolled, in pixels.

scrollY
Int32

How much the view's y coordinate space has been scrolled, in pixels.

width
Int32

The view's visible width, in pixels. This is the width visible on screen, not the total data width of a scrollable view.

height
Int32

The view's visible height, in pixels. This is the height visible on screen, not the total data height of a scrollable view.

Attributes

Remarks

Set the basic dimensions of this view.

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