次の方法で共有


SidePropagation.SetPropagationSpeed(Single) Method

Definition

Sets the speed at which transition propagation happens, relative to the duration of the Transition.

[Android.Runtime.Register("setPropagationSpeed", "(F)V", "GetSetPropagationSpeed_FHandler")]
public virtual void SetPropagationSpeed (float propagationSpeed);
[<Android.Runtime.Register("setPropagationSpeed", "(F)V", "GetSetPropagationSpeed_FHandler")>]
abstract member SetPropagationSpeed : single -> unit
override this.SetPropagationSpeed : single -> unit

Parameters

propagationSpeed
Single

The speed at which propagation occurs, relative to the duration of the transition. A speed of 4 means it works 4 times as fast as the duration of the transition. May not be 0.

Attributes

Remarks

Sets the speed at which transition propagation happens, relative to the duration of the Transition. A propagationSpeed of 1 means that a View centered at the side set in #setSide(int) and View centered at the opposite edge will have a difference in start delay of approximately the duration of the Transition. A speed of 2 means the start delay difference will be approximately half of the duration of the transition. A value of 0 is illegal, but negative values will invert the propagation.

Java documentation for android.transition.SidePropagation.setPropagationSpeed(float).

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