Configuration.IsLayoutSizeAtLeast(Int32) Method

Definition

Check if the Configuration's current #screenLayout is at least the given size.

[Android.Runtime.Register("isLayoutSizeAtLeast", "(I)Z", "")]
public bool IsLayoutSizeAtLeast (int size);
[<Android.Runtime.Register("isLayoutSizeAtLeast", "(I)Z", "")>]
member this.IsLayoutSizeAtLeast : int -> bool

Parameters

size
Int32

The desired size, either #SCREENLAYOUT_SIZE_SMALL, #SCREENLAYOUT_SIZE_NORMAL, #SCREENLAYOUT_SIZE_LARGE, or #SCREENLAYOUT_SIZE_XLARGE.

Returns

Returns true if the current screen layout size is at least the given size.

Attributes

Remarks

Check if the Configuration's current #screenLayout is at least the given size.

Java documentation for android.content.res.Configuration.isLayoutSizeAtLeast(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