View.ComputeSystemWindowInsets(WindowInsets, Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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")]
public virtual Android.Views.WindowInsets? ComputeSystemWindowInsets (Android.Views.WindowInsets? in, Android.Graphics.Rect? outLocalInsets);
[<Android.Runtime.Register("computeSystemWindowInsets", "(Landroid/view/WindowInsets;Landroid/graphics/Rect;)Landroid/view/WindowInsets;", "GetComputeSystemWindowInsets_Landroid_view_WindowInsets_Landroid_graphics_Rect_Handler")>]
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
Insets currently being processed by this View, likely received as a parameter
to #onApplyWindowInsets(WindowInsets)
.
- outLocalInsets
- Rect
A Rect that will receive the insets that should be consumed by this view
Returns
Insets that should be passed along to views under this one
- Attributes
Remarks
Compute insets that should be consumed by this view and the ones that should propagate to those under it.
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.