語言

FragmentTransaction.SetCustomAnimations 方法

定義

多載

名稱 Description
SetCustomAnimations(Int32, Int32)

設定特定動畫資源來執行該交易中進入與退出的片段。

SetCustomAnimations(Int32, Int32, Int32, Int32)

設定特定動畫資源來執行該交易中進入與退出的片段。

SetCustomAnimations(Int32, Int32)

設定特定動畫資源來執行該交易中進入與退出的片段。

[Android.Runtime.Register("setCustomAnimations", "(II)Landroid/app/FragmentTransaction;", "GetSetCustomAnimations_IIHandler")]
public abstract Android.App.FragmentTransaction? SetCustomAnimations(int enter, int exit);
[<Android.Runtime.Register("setCustomAnimations", "(II)Landroid/app/FragmentTransaction;", "GetSetCustomAnimations_IIHandler")>]
abstract member SetCustomAnimations : int * int -> Android.App.FragmentTransaction

參數

enter
Int32

int

exit
Int32

int

傳回

同一個 FragmentTransaction 實例,允許串接額外的交易操作。

屬性

備註

設定特定動畫資源來執行該交易中進入與退出的片段。 這些動畫在彈出後方堆疊時不會播放。

Android 參考資料。android.app.FragmentTransaction.setCustomAnimations

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

適用於

SetCustomAnimations(Int32, Int32, Int32, Int32)

設定特定動畫資源來執行該交易中進入與退出的片段。

[Android.Runtime.Register("setCustomAnimations", "(IIII)Landroid/app/FragmentTransaction;", "GetSetCustomAnimations_IIIIHandler")]
public abstract Android.App.FragmentTransaction? SetCustomAnimations(int enter, int exit, int popEnter, int popExit);
[<Android.Runtime.Register("setCustomAnimations", "(IIII)Landroid/app/FragmentTransaction;", "GetSetCustomAnimations_IIIIHandler")>]
abstract member SetCustomAnimations : int * int * int * int -> Android.App.FragmentTransaction

參數

enter
Int32

int

exit
Int32

int

popEnter
Int32

int

popExit
Int32

int

傳回

同一個 FragmentTransaction 實例,允許串接額外的交易操作。

屬性

備註

設定特定動畫資源來執行該交易中進入與退出的片段。 popEnter 和 popExit 的動畫會在進入/退出操作中播放,特別是在彈出後方堆疊時。

Android 參考資料。android.app.FragmentTransaction.setCustomAnimations

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

適用於