View.ComputeSystemWindowInsets(WindowInsets, Rect) View.ComputeSystemWindowInsets(WindowInsets, Rect) Method

Definition

Compute insets that should be consumed by this view and the ones that should propagate to those under it.

[Android.Runtime.Register("computeSystemWindowInsets", "(Landroid/view/WindowInsets;Landroid/graphics/Rect;)Landroid/view/WindowInsets;", "GetComputeSystemWindowInsets_Landroid_view_WindowInsets_Landroid_graphics_Rect_Handler", ApiSince=21)]
public virtual Android.Views.WindowInsets ComputeSystemWindowInsets (Android.Views.WindowInsets in, Android.Graphics.Rect outLocalInsets);
abstract member ComputeSystemWindowInsets : Android.Views.WindowInsets * Android.Graphics.Rect -> Android.Views.WindowInsets
override this.ComputeSystemWindowInsets : Android.Views.WindowInsets * Android.Graphics.Rect -> Android.Views.WindowInsets

Parameters

in
WindowInsets WindowInsets

Insets currently being processed by this View, likely received as a parameter to OnApplyWindowInsets(WindowInsets).

outLocalInsets
Rect Rect

A Rect that will receive the insets that should be consumed by this view

Returns

Remarks

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