语言

WindowManagerLayoutParams.RotationAnimationSeamless 字段

定义

注意

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

用于 #rotationAnimation 指定无缝旋转模式的值。

[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

字段值

Value = 3

实现

特性

注解

用于 #rotationAnimation 指定无缝旋转模式的值。 这类似于 JUMPCUT,但如果无法在不暂停屏幕的情况下应用旋转,则会回退到 CROSSFADE。 例如,这非常适合不希望查看器内容不断旋转或淡化(而不是无缝)但不希望在应用无缝旋转的应用转换方案中ROTATION_ANIMATION_JUMPCUT的相机应用。

Java文档android.view.WindowManager.LayoutParams.ROTATION_ANIMATION_SEAMLESS。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于