InputMethodManager.SetImeHideAnimationDurationOverrideMillis 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.
Sets or clears the IME hide animation duration override.
[Android.Runtime.Register("setImeHideAnimationDurationOverrideMillis", "(Landroid/view/View;J)V", "", ApiSince=37)]
public void SetImeHideAnimationDurationOverrideMillis(Android.Views.View view, long durationMillis);
[<Android.Runtime.Register("setImeHideAnimationDurationOverrideMillis", "(Landroid/view/View;J)V", "", ApiSince=37)>]
member this.SetImeHideAnimationDurationOverrideMillis : Android.Views.View * int64 -> unit
Parameters
- view
- View
the view whose tree the duration override is to be applied to
- durationMillis
- Int64
the non-negative duration override in milliseconds being set, or
-1 to clear the duration override.
- Attributes
Remarks
Sets or clears the IME hide animation duration override.
When set, this value is used as the requested duration for the animation of the IME hiding. This also includes animations during which where the IME is animated simultaneously with other insets. Note that there are factors which may cause the actual animation duration to differ from this requested value, including: The value getting clamped to a reasonable range by the system. Call getImeHideAnimationDurationOverrideMillis(View) after calling this setter to obtain the value after it has been clamped; The current animation duration scale; Whether the relevant window is in multi-window mode, in which case the system directly controls IME animations, rather than the application.
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.