Window.SetWindowAnimations(Int32) 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.
Specify custom animations to use for the window, as per
WindowManager.LayoutParams#windowAnimations
WindowManager.LayoutParams.windowAnimations
.
[Android.Runtime.Register("setWindowAnimations", "(I)V", "GetSetWindowAnimations_IHandler")]
public virtual void SetWindowAnimations (int resId);
[<Android.Runtime.Register("setWindowAnimations", "(I)V", "GetSetWindowAnimations_IHandler")>]
abstract member SetWindowAnimations : int -> unit
override this.SetWindowAnimations : int -> unit
Parameters
- resId
- Int32
- Attributes
Remarks
Specify custom animations to use for the window, as per WindowManager.LayoutParams#windowAnimations WindowManager.LayoutParams.windowAnimations
. Providing anything besides 0 here will override the animations the window would normally retrieve from its theme.
Java documentation for android.view.Window.setWindowAnimations(int)
.
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.