Share via


ViewGroup.SuppressLayout(Boolean) Method

Definition

Tells this ViewGroup to suppress all layout() calls until layout suppression is disabled with a later call to suppressLayout(false).

[Android.Runtime.Register("suppressLayout", "(Z)V", "GetSuppressLayout_ZHandler", ApiSince=29)]
public virtual void SuppressLayout (bool suppress);
[<Android.Runtime.Register("suppressLayout", "(Z)V", "GetSuppressLayout_ZHandler", ApiSince=29)>]
abstract member SuppressLayout : bool -> unit
override this.SuppressLayout : bool -> unit

Parameters

suppress
Boolean
Attributes

Remarks

Tells this ViewGroup to suppress all layout() calls until layout suppression is disabled with a later call to suppressLayout(false). When layout suppression is disabled, a requestLayout() call is sent if layout() was attempted while layout was being suppressed.

Java documentation for android.view.ViewGroup.suppressLayout(boolean).

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