Share via


View.MeasureSpec.ToString(Int32) Method

Definition

Returns a String representation of the specified measure specification.

[Android.Runtime.Register("toString", "(I)Ljava/lang/String;", "")]
public static string? ToString (int measureSpec);
[<Android.Runtime.Register("toString", "(I)Ljava/lang/String;", "")>]
static member ToString : int -> string

Parameters

measureSpec
Int32

the measure specification to convert to a String

Returns

a String with the following format: "MeasureSpec: MODE SIZE"

Attributes

Remarks

Returns a String representation of the specified measure specification.

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