共用方式為


DrawableContainer.SetEnterFadeDuration(Int32) Method

Definition

Change the global fade duration when a new drawable is entering the scene.

[Android.Runtime.Register("setEnterFadeDuration", "(I)V", "GetSetEnterFadeDuration_IHandler")]
public virtual void SetEnterFadeDuration (int ms);
[<Android.Runtime.Register("setEnterFadeDuration", "(I)V", "GetSetEnterFadeDuration_IHandler")>]
abstract member SetEnterFadeDuration : int -> unit
override this.SetEnterFadeDuration : int -> unit

Parameters

ms
Int32

The amount of time to fade in milliseconds.

Attributes

Remarks

Change the global fade duration when a new drawable is entering the scene.

Java documentation for android.graphics.drawable.DrawableContainer.setEnterFadeDuration(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