다음을 통해 공유


InputMethodService.OnUpdateExtractingViews(EditorInfo) Method

Definition

Called when the fullscreen-mode extracting editor info has changed, to update the state of its UI such as the action buttons shown.

[Android.Runtime.Register("onUpdateExtractingViews", "(Landroid/view/inputmethod/EditorInfo;)V", "GetOnUpdateExtractingViews_Landroid_view_inputmethod_EditorInfo_Handler")]
public virtual void OnUpdateExtractingViews (Android.Views.InputMethods.EditorInfo? ei);
[<Android.Runtime.Register("onUpdateExtractingViews", "(Landroid/view/inputmethod/EditorInfo;)V", "GetOnUpdateExtractingViews_Landroid_view_inputmethod_EditorInfo_Handler")>]
abstract member OnUpdateExtractingViews : Android.Views.InputMethods.EditorInfo -> unit
override this.OnUpdateExtractingViews : Android.Views.InputMethods.EditorInfo -> unit

Parameters

Attributes

Remarks

Called when the fullscreen-mode extracting editor info has changed, to update the state of its UI such as the action buttons shown. You do not need to deal with this if you are using the standard full screen extract UI. If replacing it, you will need to re-implement this to put the appropriate action button in your own UI and handle it, and perform any other changes.

The standard implementation turns on or off its accessory area depending on whether there is an action button, and hides or shows the entire extract area depending on whether it makes sense for the current editor. In particular, a InputType#TYPE_NULL or InputType#TYPE_TEXT_VARIATION_FILTER input type will turn off the extract area since there is no text to be shown.

Java documentation for android.inputmethodservice.InputMethodService.onUpdateExtractingViews(android.view.inputmethod.EditorInfo).

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