InputMethodService.OnConfigureWindow(Window, Boolean, Boolean) Method

Definition

Update the given window's parameters for the given mode.

[Android.Runtime.Register("onConfigureWindow", "(Landroid/view/Window;ZZ)V", "GetOnConfigureWindow_Landroid_view_Window_ZZHandler")]
public virtual void OnConfigureWindow (Android.Views.Window? win, bool isFullscreen, bool isCandidatesOnly);
[<Android.Runtime.Register("onConfigureWindow", "(Landroid/view/Window;ZZ)V", "GetOnConfigureWindow_Landroid_view_Window_ZZHandler")>]
abstract member OnConfigureWindow : Android.Views.Window * bool * bool -> unit
override this.OnConfigureWindow : Android.Views.Window * bool * bool -> unit

Parameters

win
Window

The input method's window.

isFullscreen
Boolean

If true, the window is running in fullscreen mode and intended to cover the entire application display.

isCandidatesOnly
Boolean

If true, the window is only showing the candidates view and none of the rest of its UI. This is mutually exclusive with fullscreen mode.

Attributes

Remarks

Update the given window's parameters for the given mode. This is called when the window is first displayed and each time the fullscreen or candidates only mode changes.

The default implementation makes the layout for the window MATCH_PARENT x MATCH_PARENT when in fullscreen mode, and MATCH_PARENT x WRAP_CONTENT when in non-fullscreen mode.

Java documentation for android.inputmethodservice.InputMethodService.onConfigureWindow(android.view.Window, boolean, boolean).

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