共用方式為


Activity.ClearOverrideActivityTransition(OverrideTransition) Method

Definition

Clears the animations which are set from #overrideActivityTransition.

[Android.Runtime.Register("clearOverrideActivityTransition", "(I)V", "GetClearOverrideActivityTransition_IHandler", ApiSince=34)]
public virtual void ClearOverrideActivityTransition (Android.App.OverrideTransition overrideType);
[<Android.Runtime.Register("clearOverrideActivityTransition", "(I)V", "GetClearOverrideActivityTransition_IHandler", ApiSince=34)>]
abstract member ClearOverrideActivityTransition : Android.App.OverrideTransition -> unit
override this.ClearOverrideActivityTransition : Android.App.OverrideTransition -> unit

Parameters

overrideType
OverrideTransition

OVERRIDE_TRANSITION_OPEN clear the animation set for starting a new activity. OVERRIDE_TRANSITION_CLOSE clear the animation set for finishing an activity.

Attributes

Remarks

Clears the animations which are set from #overrideActivityTransition.

Java documentation for android.app.Activity.clearOverrideActivityTransition(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to