AnimationUtils.MakeInAnimation(Context, Boolean) 方法

定义

使对象的动画变得可见。

[Android.Runtime.Register("makeInAnimation", "(Landroid/content/Context;Z)Landroid/view/animation/Animation;", "")]
public static Android.Views.Animations.Animation? MakeInAnimation (Android.Content.Context? c, bool fromLeft);
[<Android.Runtime.Register("makeInAnimation", "(Landroid/content/Context;Z)Landroid/view/animation/Animation;", "")>]
static member MakeInAnimation : Android.Content.Context * bool -> Android.Views.Animations.Animation

参数

c
Context

用于加载资源的上下文

fromLeft
Boolean

是要从左侧进行动画处理的对象

返回

新动画

属性

注解

使对象的动画变得可见。 使用幻灯片和淡化效果。

适用于 . 的 android.view.animation.AnimationUtils.makeInAnimation(android.content.Context, boolean)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于