- insets
- Insets to apply
Documentation for this section has not yet been entered.
Called when the view should apply Android.Views.WindowInsets according to its internal policy.
This method should be overridden by views that wish to apply a policy different from or in addition to the default behavior. Clients that wish to force a view subtree to apply insets should call View.DispatchApplyWindowInsets(WindowInsets).
Clients may supply an NoType:android/view/View$OnApplyWindowInsetsListener;Href=../../../reference/android/view/View.OnApplyWindowInsetsListener.html to a view. If one is set it will be called during dispatch instead of this method. The listener may optionally call this method from its own implementation if it wishes to apply the view's default insets policy in addition to its own.
Implementations of this method should either return the insets parameter unchanged or a new Android.Views.WindowInsets cloned from the supplied insets with any insets consumed that this view applied itself. This allows new inset types added in future platform versions to pass through existing implementations unchanged without being erroneously consumed.
By default if a view's View.SetFitsSystemWindows(bool) property is set then the view will consume the system window insets and apply them as padding for the view.