Share via


ViewGroup.LayoutModeOpticalBounds Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.ViewLayoutMode enum directly instead of this field.

This constant is a #setLayoutMode(int) layoutMode.

[Android.Runtime.Register("LAYOUT_MODE_OPTICAL_BOUNDS")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.ViewLayoutMode enum directly instead of this field.", true)]
public const Android.Views.ViewLayoutMode LayoutModeOpticalBounds = 1;
[<Android.Runtime.Register("LAYOUT_MODE_OPTICAL_BOUNDS")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.ViewLayoutMode enum directly instead of this field.", true)>]
val mutable LayoutModeOpticalBounds : Android.Views.ViewLayoutMode

Field Value

Value = 1

Implements

Android.Views.IViewParent._members Android.Views.IViewParent.cb_findOnBackInvokedDispatcherForChild_Landroid_view_View_Landroid_view_View_ Android.Views.IViewParent.cb_onDescendantInvalidated_Landroid_view_View_Landroid_view_View_
Attributes

Remarks

This constant is a #setLayoutMode(int) layoutMode. Optical bounds describe where a widget appears to be. They sit inside the clip bounds which need to cover a larger area to allow other effects, such as shadows and glows, to be drawn.

Java documentation for android.view.ViewGroup.LAYOUT_MODE_OPTICAL_BOUNDS.

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