Android.InputMethodServices.InputMethodService.OnComputeInsets Method
Compute the interesting insets into your UI.

Syntax

[Android.Runtime.Register("onComputeInsets", "(Landroid/inputmethodservice/InputMethodService$Insets;)V", "GetOnComputeInsets_Landroid_inputmethodservice_InputMethodService_Insets_Handler")]
public virtual void OnComputeInsets (InputMethodService.Insets outInsets)

Parameters

outInsets
Fill in with the current UI insets.

Remarks

Compute the interesting insets into your UI. The default implementation uses the top of the candidates frame for the visible insets, and the top of the input frame for the content insets. The default touchable insets are NoType:android/inputmethodservice/InputMethodService$Insets;Href=../../../reference/android/inputmethodservice/InputMethodService.Insets.html#TOUCHABLE_INSETS_VISIBLE.

Note that this method is not called when InputMethodService.ExtractViewShown returns true, since in that case the application is left as-is behind the input method and not impacted by anything in its UI.

[Android Documentation]

Requirements

Namespace: Android.InputMethodServices
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3