語言

AnimationUtils.MakeOutAnimation(Context, Boolean) 方法

定義

做一個物件變得隱形的動畫。

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

參數

c
Context

載入資源的背景

toRight
Boolean

是要動畫的物件向右出口

傳回

新動畫

屬性

備註

做一個物件變得隱形的動畫。 使用滑動與淡出效果。

Java 文件 android.view.animation.AnimationUtils.makeOutAnimation(android.content.Context, boolean)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於