語言

LayoutAnimationController.GetAnimationForView(View) 方法

定義

回傳要套用到指定視圖的動畫。

[Android.Runtime.Register("getAnimationForView", "(Landroid/view/View;)Landroid/view/animation/Animation;", "")]
public Android.Views.Animations.Animation? GetAnimationForView(Android.Views.View? view);
[<Android.Runtime.Register("getAnimationForView", "(Landroid/view/View;)Landroid/view/animation/Animation;", "")>]
member this.GetAnimationForView : Android.Views.View -> Android.Views.Animations.Animation

參數

view
View

《動畫的視角》

傳回

動畫延遲了回傳的毫秒數 #getDelayForView(android.view.View)

屬性

備註

回傳要套用到指定視圖的動畫。 回傳的動畫會延遲一個偏移量,這是根據 所提供的 android.view.animation.LayoutAnimationController.AnimationParameters資訊計算出來的。 此方法由檢視群組呼叫,以取得設定在特定子節點上的動畫。

Java 文件 android.view.animation.LayoutAnimationController.getAnimationForView(android.view.View)。

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

適用於

另請參閱