Share via


WindowManagerLayoutParams.RotationAnimationSeamless Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.WindowRotationAnimation enum directly instead of this field.

Value for #rotationAnimation to specify seamless rotation mode.

[Android.Runtime.Register("ROTATION_ANIMATION_SEAMLESS", ApiSince=26)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.WindowRotationAnimation enum directly instead of this field.", true)]
public const Android.Views.WindowRotationAnimation RotationAnimationSeamless = 3;
[<Android.Runtime.Register("ROTATION_ANIMATION_SEAMLESS", ApiSince=26)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.WindowRotationAnimation enum directly instead of this field.", true)>]
val mutable RotationAnimationSeamless : Android.Views.WindowRotationAnimation

Field Value

Value = 3

Implements

Attributes

Remarks

Value for #rotationAnimation to specify seamless rotation mode. This works like JUMPCUT but will fall back to CROSSFADE if rotation can't be applied without pausing the screen. For example, this is ideal for Camera apps which don't want the viewfinder contents to ever rotate or fade (and rather to be seamless) but also don't want ROTATION_ANIMATION_JUMPCUT during app transition scenarios where seamless rotation can't be applied.

Java documentation for android.view.WindowManager.LayoutParams.ROTATION_ANIMATION_SEAMLESS.

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