語言

WindowInsetsAnimation.Bounds.UpperBound 屬性

定義

查詢動畫的上嵌界。

public Android.Graphics.Insets UpperBound { [Android.Runtime.Register("getUpperBound", "()Landroid/graphics/Insets;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getUpperBound", "()Landroid/graphics/Insets;", "", ApiSince=30)>]
member this.UpperBound : Android.Graphics.Insets

屬性值

屬性

備註

查詢動畫的上嵌界。 如果動畫是顯示或隱藏導致 insets 的視窗,下界是 Insets#NONE ,且上界與完全顯示狀態相同 WindowInsets#getInsets(int) 。 這與 以及 WindowInsetsAnimationController#getHiddenStateInsets 若若聽者因源自 WindowInsetsAnimationController#getShownStateInsets的動畫而被呼叫是相同的WindowInsetsAnimationController。

然而,如果造成插入的視窗大小在變化,這些就是該大小動畫的上下界。

特定類型的動畫不會重疊,但可能會同時執行多個不同插入型態的動畫。

Java 文件 android.view.WindowInsetsAnimation.Bounds.getUpperBound()。

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

適用於