SidePropagation.SetSide(GravityFlags) Method

Definition

Sets the side that is used to calculate the transition propagation.

[Android.Runtime.Register("setSide", "(I)V", "GetSetSide_IHandler")]
public virtual void SetSide (Android.Views.GravityFlags side);
[<Android.Runtime.Register("setSide", "(I)V", "GetSetSide_IHandler")>]
abstract member SetSide : Android.Views.GravityFlags -> unit
override this.SetSide : Android.Views.GravityFlags -> unit

Parameters

side
GravityFlags

The side that is used to calculate the transition propagation. Must be one of Gravity#LEFT, Gravity#TOP, Gravity#RIGHT, Gravity#BOTTOM, Gravity#START, or Gravity#END.

Attributes

Remarks

Sets the side that is used to calculate the transition propagation. If the transitioning View is visible in the start of the transition, then it will transition sooner when closer to the side and later when farther. If the view is not visible in the start of the transition, then it will transition later when closer to the side and sooner when farther from the edge. The default is Gravity#BOTTOM.

Java documentation for android.transition.SidePropagation.setSide(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